Exception: Osso::Error::MissingConfiguredIdentityProvider

Inherits:
AccountConfigurationError show all
Defined in:
lib/osso/error/account_configuration_error.rb

Instance Method Summary collapse

Methods inherited from Base

#docs_url

Constructor Details

#initialize(domain: 'The requested domain') ⇒ MissingConfiguredIdentityProvider

Returns a new instance of MissingConfiguredIdentityProvider.



8
9
10
11
# File 'lib/osso/error/account_configuration_error.rb', line 8

def initialize(domain: 'The requested domain')
  super
  @domain = domain
end

Instance Method Details

#messageObject



13
14
15
16
17
# File 'lib/osso/error/account_configuration_error.rb', line 13

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