Sha256: 369ea6837bcebd24ef7b13f227231a1f6199c1ec9d0cb230482859784b5d2f4c

Contents?: true

Size: 1.45 KB

Versions: 3

Compression:

Stored size: 1.45 KB

Contents

module Saml
  module Kit
    module Namespaces
      SAML_2_0 = 'urn:oasis:names:tc:SAML:2.0'.freeze
      SAML_1_1 = 'urn:oasis:names:tc:SAML:1.1'.freeze
      ATTR_NAME_FORMAT = "#{SAML_2_0}:attrname-format".freeze
      NAME_ID_FORMAT_1_1 = "#{SAML_1_1}:nameid-format".freeze
      NAME_ID_FORMAT_2_0 = "#{SAML_2_0}:nameid-format".freeze
      STATUS = "#{SAML_2_0}:status".freeze

      ASSERTION = "#{SAML_2_0}:assertion".freeze
      ATTR_SPLAT = "#{ATTR_NAME_FORMAT}:*".freeze
      BASIC = "#{ATTR_NAME_FORMAT}:basic".freeze
      BEARER = "#{SAML_2_0}:cm:bearer".freeze
      EMAIL_ADDRESS = "#{NAME_ID_FORMAT_1_1}:emailAddress".freeze
      INVALID_NAME_ID_POLICY = "#{STATUS}:InvalidNameIDPolicy".freeze
      METADATA = "#{SAML_2_0}:metadata".freeze
      PASSWORD = "#{SAML_2_0}:ac:classes:Password".freeze
      PASSWORD_PROTECTED = "#{SAML_2_0}:ac:classes:PasswordProtectedTransport".freeze
      PERSISTENT = "#{NAME_ID_FORMAT_2_0}:persistent".freeze
      PROTOCOL = "#{SAML_2_0}:protocol".freeze
      REQUESTER_ERROR = "#{STATUS}:Requester".freeze
      RESPONDER_ERROR = "#{STATUS}:Responder".freeze
      SUCCESS = "#{STATUS}:Success".freeze
      TRANSIENT = "#{NAME_ID_FORMAT_2_0}:transient".freeze
      UNSPECIFIED = "#{SAML_2_0}:consent:unspecified".freeze
      UNSPECIFIED_NAMEID = "#{NAME_ID_FORMAT_1_1}:unspecified".freeze
      URI = "#{ATTR_NAME_FORMAT}:uri".freeze
      VERSION_MISMATCH_ERROR = "#{STATUS}:VersionMismatch".freeze
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
saml-kit-1.0.9 lib/saml/kit/namespaces.rb
saml-kit-1.0.8 lib/saml/kit/namespaces.rb
saml-kit-1.0.7 lib/saml/kit/namespaces.rb