Class: Onelogin::Saml::Settings

Inherits:
Object
  • Object
show all
Defined in:
lib/onelogin/ruby-saml/settings.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config = {}) ⇒ Settings

Returns a new instance of Settings.



4
5
6
7
8
9
# File 'lib/onelogin/ruby-saml/settings.rb', line 4

def initialize(config = {})
  config.each do |k,v|
    acc = "#{k.to_s}=".to_sym
    self.send(acc, v) if self.respond_to? acc
  end
end

Instance Attribute Details

#assertion_consumer_service_urlObject

Returns the value of attribute assertion_consumer_service_url.



10
11
12
# File 'lib/onelogin/ruby-saml/settings.rb', line 10

def assertion_consumer_service_url
  @assertion_consumer_service_url
end

#authn_contextObject

Returns the value of attribute authn_context.



12
13
14
# File 'lib/onelogin/ruby-saml/settings.rb', line 12

def authn_context
  @authn_context
end

#idp_certObject

Returns the value of attribute idp_cert.



11
12
13
# File 'lib/onelogin/ruby-saml/settings.rb', line 11

def idp_cert
  @idp_cert
end

#idp_cert_fingerprintObject

Returns the value of attribute idp_cert_fingerprint.



11
12
13
# File 'lib/onelogin/ruby-saml/settings.rb', line 11

def idp_cert_fingerprint
  @idp_cert_fingerprint
end

#idp_slo_target_urlObject

Returns the value of attribute idp_slo_target_url.



13
14
15
# File 'lib/onelogin/ruby-saml/settings.rb', line 13

def idp_slo_target_url
  @idp_slo_target_url
end

#idp_sso_target_urlObject

Returns the value of attribute idp_sso_target_url.



11
12
13
# File 'lib/onelogin/ruby-saml/settings.rb', line 11

def idp_sso_target_url
  @idp_sso_target_url
end

#issuerObject

Returns the value of attribute issuer.



10
11
12
# File 'lib/onelogin/ruby-saml/settings.rb', line 10

def issuer
  @issuer
end

#name_identifier_formatObject

Returns the value of attribute name_identifier_format.



11
12
13
# File 'lib/onelogin/ruby-saml/settings.rb', line 11

def name_identifier_format
  @name_identifier_format
end

#name_identifier_valueObject

Returns the value of attribute name_identifier_value.



14
15
16
# File 'lib/onelogin/ruby-saml/settings.rb', line 14

def name_identifier_value
  @name_identifier_value
end

#sessionindexObject

Returns the value of attribute sessionindex.



15
16
17
# File 'lib/onelogin/ruby-saml/settings.rb', line 15

def sessionindex
  @sessionindex
end

#sp_name_qualifierObject

Returns the value of attribute sp_name_qualifier.



10
11
12
# File 'lib/onelogin/ruby-saml/settings.rb', line 10

def sp_name_qualifier
  @sp_name_qualifier
end