Class: Onelogin::Saml::Settings
- Inherits:
-
Object
- Object
- Onelogin::Saml::Settings
- Defined in:
- lib/onelogin/saml/settings.rb
Instance Attribute Summary collapse
-
#assertion_consumer_service_url ⇒ Object
Returns the value of attribute assertion_consumer_service_url.
-
#idp_cert_fingerprint ⇒ Object
Returns the value of attribute idp_cert_fingerprint.
-
#idp_slo_target_url ⇒ Object
Returns the value of attribute idp_slo_target_url.
-
#idp_sso_target_url ⇒ Object
Returns the value of attribute idp_sso_target_url.
-
#issuer ⇒ Object
Returns the value of attribute issuer.
-
#name_identifier_format ⇒ Object
Returns the value of attribute name_identifier_format.
-
#return_to_url ⇒ Object
Returns the value of attribute return_to_url.
-
#sp_name_qualifier ⇒ Object
Returns the value of attribute sp_name_qualifier.
Instance Method Summary collapse
- #idp_public_cert ⇒ Object
- #idp_public_cert=(idp_public_cert_path) ⇒ Object
- #private_key ⇒ Object
- #private_key=(private_key_path) ⇒ Object
Instance Attribute Details
#assertion_consumer_service_url ⇒ Object
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_fingerprint ⇒ Object
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_url ⇒ Object
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_url ⇒ Object
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 |
#issuer ⇒ Object
Returns the value of attribute issuer.
3 4 5 |
# File 'lib/onelogin/saml/settings.rb', line 3 def issuer @issuer end |
#name_identifier_format ⇒ Object
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_url ⇒ Object
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_qualifier ⇒ Object
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_cert ⇒ Object
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_key ⇒ Object
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 |