Sha256: 11143d70608db3049901b971ce42a26879fbe5ab3b3faf1f2077affbe275985a

Contents?: true

Size: 816 Bytes

Versions: 10

Compression:

Stored size: 816 Bytes

Contents

require 'json'

module Mattermost
	module Endpoint
		module SAML

			def get_saml_metadata
				get("/saml/metadata")
			end

			def upload_idp_certificate(certificate)
				#post("saml/certifiate/idp", certificate)
				raise NotImplementedError
			end

			def remove_idp_certificate
				delete("/saml/certificate/idp")
			end

			def upload_public_certificate(certificate)
				#post("/saml/certificate/public", certificate)
				raise NotImplementedError
			end

			def remove_public_certificate
				delete("/saml/certificate/public")
			end

			def upload_private_key(key)
				#post("/saml/certificate/private", key)
				raise NotImplementedError
			end

			def remove_private_key
				delete("/saml/certificate/private")
			end

			def get_certificate_status
				get("/saml/certificate/status")
			end
		end
	end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
mattermost-api4-ruby-0.0.10 lib/mattermost/endpoint/saml.rb
mattermost-api4-ruby-0.0.9 lib/mattermost/endpoint/saml.rb
mattermost-api4-ruby-0.0.8 lib/mattermost/endpoint/saml.rb
mattermost-api4-ruby-0.0.7 lib/mattermost/endpoint/saml.rb
mattermost-api4-ruby-0.0.6 lib/mattermost/endpoint/saml.rb
mattermost-api4-ruby-0.0.5 lib/mattermost/endpoint/saml.rb
mattermost-api4-ruby-0.0.4 lib/mattermost/endpoint/saml.rb
mattermost-api4-ruby-0.0.3 lib/mattermost/endpoint/saml.rb
mattermost-api4-ruby-0.0.2 lib/mattermost/endpoint/saml.rb
mattermost-api4-ruby-0.0.1 lib/mattermost/endpoint/saml.rb