Sha256: 3c821fd0a245d7445a96901100cc6cb7295e8fd300236b72226bf3cf9f196636

Contents?: true

Size: 505 Bytes

Versions: 10

Compression:

Stored size: 505 Bytes

Contents

# frozen_string_literal: true

module Osso
  module Error
    class AccountConfigurationError < Base; end

    class MissingConfiguredIdentityProvider < AccountConfigurationError
      def initialize(domain: 'The requested domain')
        super
        @domain = domain
      end

      def message
        "#{@domain} has no configured Identity Provider. " \
          'SAML configuartion must be finalized before a user ' \
          'for this domain can sign in with SSO.'
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
osso-0.1.2 lib/osso/error/account_configuration_error.rb
osso-0.1.1 lib/osso/error/account_configuration_error.rb
osso-0.1.0 lib/osso/error/account_configuration_error.rb
osso-0.0.11 lib/osso/error/account_configuration_error.rb
osso-0.0.10 lib/osso/error/account_configuration_error.rb
osso-0.0.8 lib/osso/error/account_configuration_error.rb
osso-0.0.7 lib/osso/error/account_configuration_error.rb
osso-0.0.6 lib/osso/error/account_configuration_error.rb
osso-0.0.6.alpha lib/osso/error/account_configuration_error.rb
osso-0.0.5 lib/osso/error/account_configuration_error.rb