Class: SAML::Metadata::SSODescriptor

Inherits:
RoleDescriptor show all
Defined in:
lib/saml/metadata/sso_descriptor.rb

Direct Known Subclasses

IDPSSODescriptor, SPSSODescriptor

Instance Attribute Summary

Attributes inherited from RoleDescriptor

#key_descriptors, #protocol_support_enumeration

Instance Method Summary collapse

Methods inherited from RoleDescriptor

#signing_key_descriptor

Instance Method Details

#from_xml(xml) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/saml/metadata/sso_descriptor.rb', line 7

def from_xml(xml)
  super(xml)
  @single_logout_services = xml.get_elements('md:SingleLogoutService').map do |elem|
    Endpoint.from_xml(elem)
  end
  self
end

#single_logout_servicesObject



15
16
17
# File 'lib/saml/metadata/sso_descriptor.rb', line 15

def single_logout_services
  @single_logout_services.clone
end