BearerToken
Properties
Name | Type | Description | Restrictions |
---|---|---|---|
access_token | string | The opaque string used to authorize and make requests on behalf of the user | |
expires_in | integer | The number of seconds the access token is valid | |
scope | string | The limits of the user's access with the token, such as Read or Create | |
token_type | string | The type of access token; typically bearer |
Example
{
"access_token": "string",
"expires_in": 0,
"scope": "string",
"token_type": "string"
}
Error
Properties
Name | Type | Description | Restrictions |
---|---|---|---|
error | string | The possible error codes are:- invalid_request - The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed.- unauthorized_client - The client is not authorized to request an authorization code using this method.- access_denied - The resource owner or authorization server denied the request.- unsupported_response_type - The authorization server does not support obtaining an authorization code using this method.- invalid_scope - The requested scope is invalid, unknown, or malformed.- server_error - The authorization server encountered an unexpected condition that prevented it from fulfilling the request.- temporarily_unavailable - The authorization server is currently unable to handlethe request due to a temporary overloading or maintenance of the server. | |
error_description | string | Human-readable ASCII text providing additional information. | |
error_uri | string | A URI identifying a human-readable web page with information about the error. |
Example
{
"error": "string",
"error_description": "string",
"error_uri": "string"
}