Sha256: 690c49ca5c1dbeb64f1a52a112b01a4836303d2ff336ea1370e15b2ed91abc94

Contents?: true

Size: 1.31 KB

Versions: 3

Compression:

Stored size: 1.31 KB

Contents

# frozen_string_literal: true

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
saml-kit-1.3.0 lib/saml/kit/namespaces.rb
saml-kit-1.2.0 lib/saml/kit/namespaces.rb
saml-kit-1.1.0 lib/saml/kit/namespaces.rb