Class SSOOIDCException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\SSOOIDC\Exception\SSOOIDCException
- Namespace: Aws\SSOOIDC\Exception
- Located at SSOOIDC/Exception/SSOOIDCException.php
Represents an error interacting with the AWS SSO OIDC service.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
AccessDeniedException
[ 'error' => '<string>', 'error_description' => '<string>', ]
Description
You do not have sufficient access to perform this action.
Members
- error
-
- Type: string
Single error code. For this exception the value will be
access_denied
. - error_description
-
- Type: string
Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.
AuthorizationPendingException
[ 'error' => '<string>', 'error_description' => '<string>', ]
Description
Indicates that a request to authorize a client with an access user session token is pending.
Members
- error
-
- Type: string
Single error code. For this exception the value will be
authorization_pending
. - error_description
-
- Type: string
Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.
ExpiredTokenException
[ 'error' => '<string>', 'error_description' => '<string>', ]
Description
Indicates that the token issued by the service is expired and is no longer valid.
Members
- error
-
- Type: string
Single error code. For this exception the value will be
expired_token
. - error_description
-
- Type: string
Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.
InternalServerException
[ 'error' => '<string>', 'error_description' => '<string>', ]
Description
Indicates that an error from the service occurred while trying to process a request.
Members
- error
-
- Type: string
Single error code. For this exception the value will be
server_error
. - error_description
-
- Type: string
Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.
InvalidClientException
[ 'error' => '<string>', 'error_description' => '<string>', ]
Description
Indicates that the clientId
or clientSecret
in the request is invalid. For example, this can occur when a client sends an incorrect clientId
or an expired clientSecret
.
Members
- error
-
- Type: string
Single error code. For this exception the value will be
invalid_client
. - error_description
-
- Type: string
Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.
InvalidClientMetadataException
[ 'error' => '<string>', 'error_description' => '<string>', ]
Description
Indicates that the client information sent in the request during registration is invalid.
Members
- error
-
- Type: string
Single error code. For this exception the value will be
invalid_client_metadata
. - error_description
-
- Type: string
Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.
InvalidGrantException
[ 'error' => '<string>', 'error_description' => '<string>', ]
Description
Indicates that a request contains an invalid grant. This can occur if a client makes a CreateToken request with an invalid grant type.
Members
- error
-
- Type: string
Single error code. For this exception the value will be
invalid_grant
. - error_description
-
- Type: string
Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.
InvalidRequestException
[ 'error' => '<string>', 'error_description' => '<string>', ]
Description
Indicates that something is wrong with the input to the request. For example, a required parameter might be missing or out of range.
Members
- error
-
- Type: string
Single error code. For this exception the value will be
invalid_request
. - error_description
-
- Type: string
Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.
InvalidRequestRegionException
[ 'endpoint' => '<string>', 'error' => '<string>', 'error_description' => '<string>', 'region' => '<string>', ]
Description
Indicates that a token provided as input to the request was issued by and is only usable by calling IAM Identity Center endpoints in another region.
Members
- endpoint
-
- Type: string
Indicates the IAM Identity Center endpoint which the requester may call with this token.
- error
-
- Type: string
Single error code. For this exception the value will be
invalid_request
. - error_description
-
- Type: string
Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.
- region
-
- Type: string
Indicates the region which the requester may call with this token.
InvalidScopeException
[ 'error' => '<string>', 'error_description' => '<string>', ]
Description
Indicates that the scope provided in the request is invalid.
Members
- error
-
- Type: string
Single error code. For this exception the value will be
invalid_scope
. - error_description
-
- Type: string
Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.
SlowDownException
[ 'error' => '<string>', 'error_description' => '<string>', ]
Description
Indicates that the client is making the request too frequently and is more than the service can handle.
Members
- error
-
- Type: string
Single error code. For this exception the value will be
slow_down
. - error_description
-
- Type: string
Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.
UnauthorizedClientException
[ 'error' => '<string>', 'error_description' => '<string>', ]
Description
Indicates that the client is not currently authorized to make the request. This can happen when a clientId
is not issued for a public client.
Members
- error
-
- Type: string
Single error code. For this exception the value will be
unauthorized_client
. - error_description
-
- Type: string
Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.
UnsupportedGrantTypeException
[ 'error' => '<string>', 'error_description' => '<string>', ]
Description
Indicates that the grant type in the request is not supported by the service.
Members
- error
-
- Type: string
Single error code. For this exception the value will be
unsupported_grant_type
. - error_description
-
- Type: string
Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.