Class: SAML2::SSO

Inherits:
Role show all
Defined in:
lib/saml2/sso.rb

Direct Known Subclasses

IdentityProvider, ServiceProvider

Instance Attribute Summary collapse

Attributes inherited from Role

#keys, #supported_protocols

Attributes included from OrganizationAndContacts

#contacts, #organization

Instance Method Summary collapse

Methods inherited from Role

#encryption_keys, #signing_keys

Methods inherited from Base

from_xml, #from_xml, load_object_array, load_string_array, lookup_qname, #to_s, #to_xml

Constructor Details

#initialize(node = nil) ⇒ SSO

Returns a new instance of SSO.



7
8
9
10
11
12
13
# File 'lib/saml2/sso.rb', line 7

def initialize(node = nil)
  super
  unless node
    @single_logout_services = []
    @name_id_formats = []
  end
end

Instance Attribute Details

#name_id_formatsObject (readonly)

Returns the value of attribute name_id_formats.



5
6
7
# File 'lib/saml2/sso.rb', line 5

def name_id_formats
  @name_id_formats
end

#single_logout_servicesObject (readonly)

Returns the value of attribute single_logout_services.



5
6
7
# File 'lib/saml2/sso.rb', line 5

def single_logout_services
  @single_logout_services
end