Sha256: 4c9a4c76191443368c1533a4ad1ac02f5895ad791ab88d14729fa2815df6b3b6
Contents?: true
Size: 1.63 KB
Versions: 38
Compression:
Stored size: 1.63 KB
Contents
module Maestrano module Saml class Settings NAMEID_EMAIL_ADDRESS = 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress' NAMEID_X509_SUBJECT_NAME = 'urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName' NAMEID_WINDOWS_DOMAIN_QUALIFIED_NAME = 'urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName' NAMEID_KERBEROS = 'urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos' NAMEID_ENTITY = 'urn:oasis:names:tc:SAML:2.0:nameid-format:entity' NAMEID_TRANSIENT = 'urn:oasis:names:tc:SAML:2.0:nameid-format:transient' NAMEID_PERSISTENT = 'urn:oasis:names:tc:SAML:2.0:nameid-format:persistent' PROTOCOL_BINDING_POST = 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST' def initialize(overrides = {}) config = DEFAULTS.merge(overrides) config.each do |k,v| acc = "#{k.to_s}=".to_sym self.send(acc, v) if self.respond_to? acc end end attr_accessor :assertion_consumer_service_url, :issuer, :sp_name_qualifier attr_accessor :idp_sso_target_url, :idp_cert_fingerprint, :idp_cert, :name_identifier_format attr_accessor :authn_context attr_accessor :idp_slo_target_url attr_accessor :name_identifier_value attr_accessor :sessionindex attr_accessor :assertion_consumer_logout_service_url attr_accessor :compress_request attr_accessor :double_quote_xml_attribute_values attr_accessor :passive attr_accessor :protocol_binding private DEFAULTS = {:compress_request => true, :double_quote_xml_attribute_values => false} end end end
Version data entries
38 entries across 38 versions & 2 rubygems