Class: SAML2::SSO
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Role
Attributes included from OrganizationAndContacts
Attributes inherited from Base
Instance Method Summary collapse
- #from_xml(node) ⇒ Object
-
#initialize ⇒ SSO
constructor
A new instance of SSO.
- #name_id_formats ⇒ Object
- #single_logout_services ⇒ Object
Methods inherited from Role
#encryption_keys, #signing_keys
Methods inherited from Base
from_xml, load_object_array, load_string_array, lookup_qname, #to_s, #to_xml
Constructor Details
#initialize ⇒ SSO
Returns a new instance of SSO.
5 6 7 8 9 |
# File 'lib/saml2/sso.rb', line 5 def initialize super @single_logout_services = [] @name_id_formats = [] end |
Instance Method Details
#from_xml(node) ⇒ Object
11 12 13 14 15 |
# File 'lib/saml2/sso.rb', line 11 def from_xml(node) super @single_logout_services = nil @name_id_formats = nil end |
#name_id_formats ⇒ Object
21 22 23 |
# File 'lib/saml2/sso.rb', line 21 def name_id_formats @name_id_formats ||= load_string_array(xml, 'md:NameIDFormat') end |
#single_logout_services ⇒ Object
17 18 19 |
# File 'lib/saml2/sso.rb', line 17 def single_logout_services @single_logout_services ||= load_object_array(xml, 'md:SingleLogoutService', Endpoint) end |