Module: Saml::ComplexTypes::SSODescriptorType
Defined Under Namespace
Classes: ArtifactResolutionService, SingleLogoutService
Instance Method Summary
collapse
Instance Method Details
#find_key_descriptor(key_name, use) ⇒ Object
47
48
49
50
51
52
53
54
55
|
# File 'lib/saml/complex_types/sso_descriptor_type.rb', line 47
def find_key_descriptor(key_name, use)
key_descriptors_by_use = find_key_descriptors_by_use(use)
if key_name.present?
key_descriptors_by_use.find { |key| key.key_info.key_name == key_name }
else
key_descriptors_by_use.first
end
end
|
#initialize(*args) ⇒ Object
39
40
41
42
43
44
45
|
# File 'lib/saml/complex_types/sso_descriptor_type.rb', line 39
def initialize(*args)
super(*args)
@single_logout_services ||= []
@key_descriptors ||= []
@artifact_resolution_services ||= []
@protocol_support_enumeration ||= PROTOCOL_SUPPORT_ENUMERATION
end
|