Class: SAML2::SSO Abstract
Overview
This class is abstract.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Role
#fingerprints, #keys, #private_keys, #supported_protocols
Attributes included from OrganizationAndContacts
Attributes inherited from Base
Instance Method Summary collapse
-
#from_xml(node) ⇒ void
Parse an XML element into this object.
-
#initialize ⇒ SSO
constructor
A new instance of SSO.
- #name_id_formats ⇒ Array<String>
- #single_logout_services ⇒ Array<Endpoint>
Methods inherited from Role
#encryption_keys, #signing_keys
Methods included from Signable
#sign, #signature, #signed?, #signing_key, #valid_signature?, #validate_signature
Methods inherited from Base
#decrypt, from_xml, #inspect, load_object_array, load_string_array, lookup_qname, #to_s, #to_xml
Constructor Details
#initialize ⇒ SSO
Returns a new instance of SSO.
8 9 10 11 12 |
# File 'lib/saml2/sso.rb', line 8 def initialize super @single_logout_services = [] @name_id_formats = [] end |
Instance Method Details
#from_xml(node) ⇒ void
This method returns an undefined value.
Parse an XML element into this object.
15 16 17 18 19 |
# File 'lib/saml2/sso.rb', line 15 def from_xml(node) super @single_logout_services = nil @name_id_formats = nil end |
#name_id_formats ⇒ Array<String>
27 28 29 |
# File 'lib/saml2/sso.rb', line 27 def name_id_formats @name_id_formats ||= load_string_array(xml, "md:NameIDFormat") end |