ConfigurationException
extends Exception
in package
implements
Auth0Exception
FinalYes
Tags
Table of Contents
Interfaces
- Auth0Exception
- Represents all errors generated by SDK itself.
Constants
- MSG_CONFIGURATION_REQUIRED : string = 'The Auth0 SDK requires an SdkConfiguration be...
- MSG_GET_MISSING : string = 'Attempted to retrieve the value of an undefine...
- MSG_INCOMPATIBLE_SIGNING_ALGORITHM : string = '%s it not a compatible signing algorithm'
- MSG_INVALID_TOKEN_ALGORITHM : string = 'Invalid token algorithm; must be "HS256" or "R...
- MSG_NO_PSR17_LIBRARY : string = 'No compatible PSR-17 library was configured, a...
- MSG_NO_PSR18_LIBRARY : string = 'No compatible PSR-18 library was configured, a...
- MSG_REQUIRES_AUDIENCE : string = '`audience` must be configured'
- MSG_REQUIRES_CLIENT_ID : string = '`clientId` must be configured'
- MSG_REQUIRES_CLIENT_SECRET : string = '`clientSecret` must be configured'
- MSG_REQUIRES_COOKIE_SECRET : string = '`cookieSecret` must be configured'
- MSG_REQUIRES_DOMAIN : string = '`domain` must be configured'
- MSG_REQUIRES_MANAGEMENT_KEY : string = '`managementToken` must be configured'
- MSG_REQUIRES_REDIRECT_URI : string = '`redirectUri` must be configured'
- MSG_REQUIRES_RETURN_URI : string = '`returnUri` must be configured'
- MSG_SESSION_REQUIRED : string = 'Method %s requires a stateful `strategy` with...
- MSG_SET_IMMUTABLE : string = 'Changes cannot be applied to a locked configur...
- MSG_SET_INCOMPATIBLE : string = 'Parameter "%s" must be of type %s, %s used'
- MSG_SET_INCOMPATIBLE_NULLABLE : string = 'Parameter "%s" must be of type %s or null, %s...
- MSG_SET_MISSING : string = 'Attempted to assign a value to undefined prope...
- MSG_STRATEGY_REQUIRED : string = 'The Auth0 SDK requires a `strategy` to be conf...
- MSG_VALIDATION_FAILED : string = 'Validation of "%s" was unsuccessful'
- MSG_VALUE_REQUIRED : string = '`%s` is not configured'
Methods
- getMissing() : self
- incompatibleClientAssertionSigningAlgorithm() : self
- invalidAlgorithm() : self
- missingPsr17Library() : self
- missingPsr18Library() : self
- required() : self
- requiresAudience() : self
- requiresClientId() : self
- requiresClientSecret() : self
- requiresConfiguration() : self
- requiresCookieSecret() : self
- requiresDomain() : self
- requiresManagementToken() : self
- requiresRedirectUri() : self
- requiresReturnUri() : self
- requiresStatefulness() : self
- requiresStrategy() : self
- setImmutable() : self
- setIncompatible() : self
- setIncompatibleNullable() : self
- setMissing() : self
- validationFailed() : self
Constants
MSG_CONFIGURATION_REQUIRED
public
string
MSG_CONFIGURATION_REQUIRED
= 'The Auth0 SDK requires an SdkConfiguration be provided at initialization'
MSG_GET_MISSING
public
string
MSG_GET_MISSING
= 'Attempted to retrieve the value of an undefined property "%s"'
MSG_INCOMPATIBLE_SIGNING_ALGORITHM
public
string
MSG_INCOMPATIBLE_SIGNING_ALGORITHM
= '%s it not a compatible signing algorithm'
MSG_INVALID_TOKEN_ALGORITHM
public
string
MSG_INVALID_TOKEN_ALGORITHM
= 'Invalid token algorithm; must be "HS256" or "RS256"'
MSG_NO_PSR17_LIBRARY
public
string
MSG_NO_PSR17_LIBRARY
= 'No compatible PSR-17 library was configured, and one could not be auto-discovered'
MSG_NO_PSR18_LIBRARY
public
string
MSG_NO_PSR18_LIBRARY
= 'No compatible PSR-18 library was configured, and one could not be auto-discovered'
MSG_REQUIRES_AUDIENCE
public
string
MSG_REQUIRES_AUDIENCE
= '`audience` must be configured'
MSG_REQUIRES_CLIENT_ID
public
string
MSG_REQUIRES_CLIENT_ID
= '`clientId` must be configured'
MSG_REQUIRES_CLIENT_SECRET
public
string
MSG_REQUIRES_CLIENT_SECRET
= '`clientSecret` must be configured'
MSG_REQUIRES_COOKIE_SECRET
public
string
MSG_REQUIRES_COOKIE_SECRET
= '`cookieSecret` must be configured'
MSG_REQUIRES_DOMAIN
public
string
MSG_REQUIRES_DOMAIN
= '`domain` must be configured'
MSG_REQUIRES_MANAGEMENT_KEY
public
string
MSG_REQUIRES_MANAGEMENT_KEY
= '`managementToken` must be configured'
MSG_REQUIRES_REDIRECT_URI
public
string
MSG_REQUIRES_REDIRECT_URI
= '`redirectUri` must be configured'
MSG_REQUIRES_RETURN_URI
public
string
MSG_REQUIRES_RETURN_URI
= '`returnUri` must be configured'
MSG_SESSION_REQUIRED
public
string
MSG_SESSION_REQUIRED
= 'Method %s requires a stateful `strategy` with sessions configured.'
MSG_SET_IMMUTABLE
public
string
MSG_SET_IMMUTABLE
= 'Changes cannot be applied to a locked configuration'
MSG_SET_INCOMPATIBLE
public
string
MSG_SET_INCOMPATIBLE
= 'Parameter "%s" must be of type %s, %s used'
MSG_SET_INCOMPATIBLE_NULLABLE
public
string
MSG_SET_INCOMPATIBLE_NULLABLE
= 'Parameter "%s" must be of type %s or null, %s used'
MSG_SET_MISSING
public
string
MSG_SET_MISSING
= 'Attempted to assign a value to undefined property "%s"'
MSG_STRATEGY_REQUIRED
public
string
MSG_STRATEGY_REQUIRED
= 'The Auth0 SDK requires a `strategy` to be configured'
MSG_VALIDATION_FAILED
public
string
MSG_VALIDATION_FAILED
= 'Validation of "%s" was unsuccessful'
MSG_VALUE_REQUIRED
public
string
MSG_VALUE_REQUIRED
= '`%s` is not configured'
Methods
getMissing()
public
static getMissing(string $propertyName[, Throwable|null $previous = null ]) : self
Parameters
- $propertyName : string
- $previous : Throwable|null = null
Return values
selfincompatibleClientAssertionSigningAlgorithm()
public
static incompatibleClientAssertionSigningAlgorithm(string $algorithm[, Throwable|null $previous = null ]) : self
Parameters
- $algorithm : string
- $previous : Throwable|null = null
Return values
selfinvalidAlgorithm()
public
static invalidAlgorithm([Throwable|null $previous = null ]) : self
Parameters
- $previous : Throwable|null = null
Return values
selfmissingPsr17Library()
public
static missingPsr17Library([Throwable|null $previous = null ]) : self
Parameters
- $previous : Throwable|null = null
Return values
selfmissingPsr18Library()
public
static missingPsr18Library([Throwable|null $previous = null ]) : self
Parameters
- $previous : Throwable|null = null
Return values
selfrequired()
public
static required(string $propertyName[, Throwable|null $previous = null ]) : self
Parameters
- $propertyName : string
- $previous : Throwable|null = null
Return values
selfrequiresAudience()
public
static requiresAudience([Throwable|null $previous = null ]) : self
Parameters
- $previous : Throwable|null = null
Return values
selfrequiresClientId()
public
static requiresClientId([Throwable|null $previous = null ]) : self
Parameters
- $previous : Throwable|null = null
Return values
selfrequiresClientSecret()
public
static requiresClientSecret([Throwable|null $previous = null ]) : self
Parameters
- $previous : Throwable|null = null
Return values
selfrequiresConfiguration()
public
static requiresConfiguration([Throwable|null $previous = null ]) : self
Parameters
- $previous : Throwable|null = null
Return values
selfrequiresCookieSecret()
public
static requiresCookieSecret([Throwable|null $previous = null ]) : self
Parameters
- $previous : Throwable|null = null
Return values
selfrequiresDomain()
public
static requiresDomain([Throwable|null $previous = null ]) : self
Parameters
- $previous : Throwable|null = null
Return values
selfrequiresManagementToken()
public
static requiresManagementToken([Throwable|null $previous = null ]) : self
Parameters
- $previous : Throwable|null = null
Return values
selfrequiresRedirectUri()
public
static requiresRedirectUri([Throwable|null $previous = null ]) : self
Parameters
- $previous : Throwable|null = null
Return values
selfrequiresReturnUri()
public
static requiresReturnUri([Throwable|null $previous = null ]) : self
Parameters
- $previous : Throwable|null = null
Return values
selfrequiresStatefulness()
public
static requiresStatefulness(string $methodName[, Throwable|null $previous = null ]) : self
Parameters
- $methodName : string
- $previous : Throwable|null = null
Return values
selfrequiresStrategy()
public
static requiresStrategy([Throwable|null $previous = null ]) : self
Parameters
- $previous : Throwable|null = null
Return values
selfsetImmutable()
public
static setImmutable([Throwable|null $previous = null ]) : self
Parameters
- $previous : Throwable|null = null
Return values
selfsetIncompatible()
public
static setIncompatible(string $propertyName, string $expectedType, string $usedType[, Throwable|null $previous = null ]) : self
Parameters
- $propertyName : string
- $expectedType : string
- $usedType : string
- $previous : Throwable|null = null
Return values
selfsetIncompatibleNullable()
public
static setIncompatibleNullable(string $propertyName, string $expectedType, string $usedType[, Throwable|null $previous = null ]) : self
Parameters
- $propertyName : string
- $expectedType : string
- $usedType : string
- $previous : Throwable|null = null
Return values
selfsetMissing()
public
static setMissing(string $propertyName[, Throwable|null $previous = null ]) : self
Parameters
- $propertyName : string
- $previous : Throwable|null = null
Return values
selfvalidationFailed()
public
static validationFailed(string $propertyName[, Throwable|null $previous = null ]) : self
Parameters
- $propertyName : string
- $previous : Throwable|null = null