Sha256: 4397d67ab25adb31a939614791a6de0b1a9a8c2f08bb0aed4e001ff06cf9b942
Contents?: true
Size: 881 Bytes
Versions: 13
Compression:
Stored size: 881 Bytes
Contents
module Saml module Kit class ServiceProviderMetadata < Metadata def initialize(xml) super("SPSSODescriptor", xml) end def assertion_consumer_services services('AssertionConsumerService') end def assertion_consumer_service_for(binding:) service_for(binding: binding, type: 'AssertionConsumerService') end def want_assertions_signed attribute = document.find_by("/md:EntityDescriptor/md:#{name}").attribute("WantAssertionsSigned") return true if attribute.nil? attribute.text.downcase == "true" end def self.builder_class Saml::Kit::Builders::ServiceProviderMetadata end Builder = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('Saml::Kit::ServiceProviderMetadata::Builder', 'Saml::Kit::Builders::ServiceProviderMetadata') end end end
Version data entries
13 entries across 13 versions & 1 rubygems