Sha256: 7d686a65b29a53606a822b546b192380d2adeef83447e9ee0627d627ef73bd8c

Contents?: true

Size: 675 Bytes

Versions: 16

Compression:

Stored size: 675 Bytes

Contents

# frozen_string_literal: true

module Osso
  module Error
    class MissingSamlAttributeError < Base; end

    class MissingSamlEmailAttributeError < MissingSamlAttributeError
      def message
        'SAML response does not include the attribute `email`. ' \
          "Review the setup guide and check the attributes you're sending from your Identity Provider."
      end
    end

    class MissingSamlIdAttributeError < MissingSamlAttributeError
      def message
        'SAML response does not include the attribute `id` or `idp_id`.' \
          "Review the setup guide and check the attributes you're sending from your Identity Provider."
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
osso-0.1.2 lib/osso/error/missing_saml_attribute_error.rb
osso-0.1.1 lib/osso/error/missing_saml_attribute_error.rb
osso-0.1.0 lib/osso/error/missing_saml_attribute_error.rb
osso-0.0.11 lib/osso/error/missing_saml_attribute_error.rb
osso-0.0.10 lib/osso/error/missing_saml_attribute_error.rb
osso-0.0.8 lib/osso/error/missing_saml_attribute_error.rb
osso-0.0.7 lib/osso/error/missing_saml_attribute_error.rb
osso-0.0.6 lib/osso/error/missing_saml_attribute_error.rb
osso-0.0.6.alpha lib/osso/error/missing_saml_attribute_error.rb
osso-0.0.5 lib/osso/error/missing_saml_attribute_error.rb
osso-0.0.5.pre.lambda lib/osso/error/missing_saml_attribute_error.rb
osso-0.0.5.pre.kappa lib/osso/error/missing_saml_attribute_error.rb
osso-0.0.5.pre.iota lib/osso/error/missing_saml_attribute_error.rb
osso-0.0.5.pre.theta lib/osso/error/missing_saml_attribute_error.rb
osso-0.0.5.pre.eta lib/osso/error/missing_saml_attribute_error.rb
osso-0.0.5.pre.zeta lib/osso/error/missing_saml_attribute_error.rb