digidentity/libsaml

View on GitHub
lib/saml/elements/attribute_authority_descriptor.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Saml
  module Elements
    class AttributeAuthorityDescriptor
      include Saml::ComplexTypes::RoleDescriptorType

      class AttributeService
        include Saml::ComplexTypes::EndpointType
        tag 'AttributeService'
      end

      tag 'AttributeAuthorityDescriptor'

      has_many :attribute_service, AttributeService
      has_many :name_id_format, Saml::Elements::NameIdFormat

      validates :attribute_service, presence: true

    end
  end
end