forked from LiveCarta/PayPal-PHP-Server-SDK
* Automated commit message * Automated commit message * Automated commit message * Automated commit message --------- Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
1.1 KiB
1.1 KiB
O Auth Provider Exception
OAuth 2 Authorization endpoint exception.
Structure
OAuthProviderException
Fields
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
error |
string(OAuthProviderError) |
Required | Gets or sets error code. | getError(): string | setError(string error): void |
errorDescription |
?string |
Optional | Gets or sets human-readable text providing additional information on error. Used to assist the client developer in understanding the error that occurred. |
getErrorDescription(): ?string | setErrorDescription(?string errorDescription): void |
errorUri |
?string |
Optional | Gets or sets a URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error. | getErrorUri(): ?string | setErrorUri(?string errorUri): void |
Example (as JSON)
{
"error": "unsupported_grant_type",
"error_description": "error_description8",
"error_uri": "error_uri8"
}