1
0
Files
PayPal-PHP-Server-SDK/doc/models/o-auth-provider-exception.md
Dani Kirby 6b43a4225b Beta Release 0.5.0 (#3)
* Automated commit message

* Automated commit message

* Automated commit message

* Automated commit message

---------

Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
2024-09-09 12:10:34 -05:00

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"
}
```