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>
28 lines
1.1 KiB
Markdown
28 lines
1.1 KiB
Markdown
|
|
# O Auth Provider Exception
|
|
|
|
OAuth 2 Authorization endpoint exception.
|
|
|
|
## Structure
|
|
|
|
`OAuthProviderException`
|
|
|
|
## Fields
|
|
|
|
| Name | Type | Tags | Description | Getter | Setter |
|
|
| --- | --- | --- | --- | --- | --- |
|
|
| `error` | [`string(OAuthProviderError)`](../../doc/models/o-auth-provider-error.md) | 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.<br>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)
|
|
|
|
```json
|
|
{
|
|
"error": "unsupported_grant_type",
|
|
"error_description": "error_description8",
|
|
"error_uri": "error_uri8"
|
|
}
|
|
```
|
|
|