Sha256: 094bc172947d6e12d0d0634f15f346b2ae3e21960733ef40d521587e65692bf2

Contents?: true

Size: 718 Bytes

Versions: 23

Compression:

Stored size: 718 Bytes

Contents

module Saml
  module Elements
    class RequestedAuthnContext

      module ComparisonTypes
        EXACT   = 'exact'
        MINIMUM = 'minimum'
        MAXIMUM = 'maximum'
        BETTER  = 'better'
        ALL     = [EXACT, MINIMUM, MAXIMUM, BETTER, nil]
      end

      include Saml::ClassRefs

      include Saml::Base

      tag 'RequestedAuthnContext'
      namespace 'samlp'

      attribute :comparison, String, :tag => "Comparison"

      element :authn_context_class_ref, String, :namespace => 'saml', :tag => "AuthnContextClassRef"

      validates :authn_context_class_ref, :presence => true, :inclusion => ALL_CLASS_REFS
      validates :comparison, :inclusion => ComparisonTypes::ALL
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
libsaml-2.4.7 lib/saml/elements/requested_authn_context.rb
libsaml-2.4.6 lib/saml/elements/requested_authn_context.rb
libsaml-2.4.5 lib/saml/elements/requested_authn_context.rb
libsaml-2.4.4 lib/saml/elements/requested_authn_context.rb
libsaml-2.4.3 lib/saml/elements/requested_authn_context.rb
libsaml-2.4.2 lib/saml/elements/requested_authn_context.rb
libsaml-2.4.1 lib/saml/elements/requested_authn_context.rb
libsaml-2.3.2 lib/saml/elements/requested_authn_context.rb
libsaml-2.3.1 lib/saml/elements/requested_authn_context.rb
libsaml-2.2.3 lib/saml/elements/requested_authn_context.rb
libsaml-2.2.2 lib/saml/elements/requested_authn_context.rb
libsaml-2.2.1 lib/saml/elements/requested_authn_context.rb
libsaml-2.1.9 lib/saml/elements/requested_authn_context.rb
libsaml-2.1.8 lib/saml/elements/requested_authn_context.rb
libsaml-2.1.7 lib/saml/elements/requested_authn_context.rb
libsaml-2.1.6 lib/saml/elements/requested_authn_context.rb
libsaml-2.1.5 lib/saml/elements/requested_authn_context.rb
libsaml-2.1.4 lib/saml/elements/requested_authn_context.rb
libsaml-2.1.3 lib/saml/elements/requested_authn_context.rb
libsaml-2.1.2 lib/saml/elements/requested_authn_context.rb