Class: SAML2::ServiceProvider
- Defined in:
- lib/saml2/service_provider.rb
Instance Attribute Summary
Attributes inherited from SSO
#name_id_formats, #single_logout_services
Attributes inherited from Role
Attributes included from OrganizationAndContacts
Instance Method Summary collapse
Methods inherited from SSO
Methods inherited from Role
#encryption_keys, #from_xml, #initialize, #signing_keys
Methods included from OrganizationAndContacts
Methods inherited from Base
from_xml, #from_xml, load_object_array, load_string_array, lookup_qname, #to_s, #to_xml
Constructor Details
This class inherits a constructor from SAML2::SSO
Instance Method Details
#assertion_consumer_services ⇒ Object
8 9 10 11 12 13 |
# File 'lib/saml2/service_provider.rb', line 8 def assertion_consumer_services @assertion_consumer_services ||= begin nodes = @root.xpath('md:AssertionConsumerService', Namespaces::ALL) Endpoint::Indexed::Array.from_xml(nodes) end end |
#attribute_consuming_services ⇒ Object
15 16 17 18 19 20 |
# File 'lib/saml2/service_provider.rb', line 15 def attribute_consuming_services @attribute_consuming_services ||= begin nodes = @root.xpath('md:AttributeConsumingService', Namespaces::ALL) AttributeConsumingService::Array.from_xml(nodes) end end |