Sha256: f6ecb70a44b819eae770aa8ce460ef31d1c5c759fce7739ff4e933bf6b8d92df

Contents?: true

Size: 742 Bytes

Versions: 2

Compression:

Stored size: 742 Bytes

Contents

module Saml
  module Elements
    class SPSSODescriptor
      include Saml::ComplexTypes::SSODescriptorType

      class AssertionConsumerService
        include Saml::ComplexTypes::IndexedEndpointType
        tag 'AssertionConsumerService'
      end

      tag 'SPSSODescriptor'

      attribute :authn_requests_signed, Boolean, :tag => "AuthnRequestsSigned", :default => false
      attribute :want_assertions_signed, Boolean, :tag => "WantAssertionsSigned", :default => false

      has_many :assertion_consumer_services, AssertionConsumerService

      validates :assertion_consumer_services, :presence => true

      def initialize(*args)
        super(*args)
        self.assertion_consumer_services ||= []
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
libsaml-2.0.6 lib/saml/elements/sp_sso_descriptor.rb
libsaml-2.0.5 lib/saml/elements/sp_sso_descriptor.rb