Auth0-PHP

ArgumentException extends Exception
in package
implements Auth0Exception

FinalYes
Tags
codeCoverageIgnore

Table of Contents

Interfaces

Auth0Exception
Represents all errors generated by SDK itself.

Constants

MSG_BAD_PERMISSIONS_ARRAY  : string = 'Invalid or empty permissions array passed. All...
MSG_PKCE_CODE_VERIFIER_LENGTH  : string = 'Code verifier must be created with a minimum l...
MSG_UNKNOWN_METHOD  : string = 'Unknown method %s.'
MSG_VALUE_CANNOT_BE_EMPTY  : string = 'A value for `%s` must be provided'
MSG_VALUE_HAS_BEARER_PREFIX  : string = 'A value for `%s` must not include a `Bearer` p...
MSG_VALUE_IS_NOT_URI  : string = 'A value for `%s` must be a valid URI'

Methods

badPermissionsArray()  : self
codeVerifierLength()  : self
hasBearerPrefix()  : self
invalidUri()  : self
missing()  : self
unknownMethod()  : self

Constants

MSG_BAD_PERMISSIONS_ARRAY

public string MSG_BAD_PERMISSIONS_ARRAY = 'Invalid or empty permissions array passed. All permissions must include both permission_name and resource_server_identifier keys.'

MSG_PKCE_CODE_VERIFIER_LENGTH

public string MSG_PKCE_CODE_VERIFIER_LENGTH = 'Code verifier must be created with a minimum length of 43 characters and a maximum length of 128 characters.'

MSG_VALUE_CANNOT_BE_EMPTY

public string MSG_VALUE_CANNOT_BE_EMPTY = 'A value for `%s` must be provided'

MSG_VALUE_HAS_BEARER_PREFIX

public string MSG_VALUE_HAS_BEARER_PREFIX = 'A value for `%s` must not include a `Bearer` prefix'

MSG_VALUE_IS_NOT_URI

public string MSG_VALUE_IS_NOT_URI = 'A value for `%s` must be a valid URI'

Methods

badPermissionsArray()

public static badPermissionsArray([Throwable|null $previous = null ]) : self
Parameters
$previous : Throwable|null = null
Return values
self

codeVerifierLength()

public static codeVerifierLength([Throwable|null $previous = null ]) : self
Parameters
$previous : Throwable|null = null
Return values
self

hasBearerPrefix()

public static hasBearerPrefix(string $parameterName[, Throwable|null $previous = null ]) : self
Parameters
$parameterName : string
$previous : Throwable|null = null
Return values
self

invalidUri()

public static invalidUri(string $parameterName[, Throwable|null $previous = null ]) : self
Parameters
$parameterName : string
$previous : Throwable|null = null
Return values
self

missing()

public static missing(string $parameterName[, Throwable|null $previous = null ]) : self
Parameters
$parameterName : string
$previous : Throwable|null = null
Return values
self

unknownMethod()

public static unknownMethod(string $methodName[, Throwable|null $previous = null ]) : self
Parameters
$methodName : string
$previous : Throwable|null = null
Return values
self
On this page

Search results