Class: Onelogin::Saml::Settings

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#assertion_consumer_service_urlObject

Returns the value of attribute assertion_consumer_service_url.



3
4
5
# File 'lib/onelogin/saml/settings.rb', line 3

def assertion_consumer_service_url
  @assertion_consumer_service_url
end

#idp_cert_fingerprintObject

Returns the value of attribute idp_cert_fingerprint.



4
5
6
# File 'lib/onelogin/saml/settings.rb', line 4

def idp_cert_fingerprint
  @idp_cert_fingerprint
end

#idp_slo_target_urlObject

Returns the value of attribute idp_slo_target_url.



4
5
6
# File 'lib/onelogin/saml/settings.rb', line 4

def idp_slo_target_url
  @idp_slo_target_url
end

#idp_sso_target_urlObject

Returns the value of attribute idp_sso_target_url.



4
5
6
# File 'lib/onelogin/saml/settings.rb', line 4

def idp_sso_target_url
  @idp_sso_target_url
end

#issuerObject

Returns the value of attribute issuer.



3
4
5
# File 'lib/onelogin/saml/settings.rb', line 3

def issuer
  @issuer
end

#name_identifier_formatObject

Returns the value of attribute name_identifier_format.



4
5
6
# File 'lib/onelogin/saml/settings.rb', line 4

def name_identifier_format
  @name_identifier_format
end

#return_to_urlObject

Returns the value of attribute return_to_url.



4
5
6
# File 'lib/onelogin/saml/settings.rb', line 4

def return_to_url
  @return_to_url
end

#sp_name_qualifierObject

Returns the value of attribute sp_name_qualifier.



3
4
5
# File 'lib/onelogin/saml/settings.rb', line 3

def sp_name_qualifier
  @sp_name_qualifier
end

Instance Method Details

#idp_public_certObject



18
19
20
# File 'lib/onelogin/saml/settings.rb', line 18

def idp_public_cert
  @idp_public_cert
end

#idp_public_cert=(idp_public_cert_path) ⇒ Object



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

def idp_public_cert=(idp_public_cert_path)
  @idp_public_cert = OpenSSL::X509::Certificate.new(File.read(idp_public_cert_path))
end

#private_keyObject



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

def private_key
  @private_key
end

#private_key=(private_key_path) ⇒ Object



6
7
8
# File 'lib/onelogin/saml/settings.rb', line 6

def private_key=(private_key_path)
  @private_key =  OpenSSL::PKey::RSA.new(File.read(private_key_path))
end