public final class OAuth2Error extends Object
The set HTTP status code is ignored for authorisation errors passed by HTTP redirection. Errors that are only used by at the authorisation endpoint are supplied with a matching HTTP status code in case they are used in a different context.
Modifier and Type | Field | Description |
---|---|---|
static ErrorObject |
ACCESS_DENIED |
The resource owner or authorisation server denied the request.
|
static ErrorObject |
INVALID_CLIENT |
Client authentication failed (e.g.
|
static ErrorObject |
INVALID_GRANT |
The provided authorisation grant (e.g.
|
static ErrorObject |
INVALID_REQUEST |
The request is missing a required parameter, includes an invalid
parameter, or is otherwise malformed.
|
static ErrorObject |
INVALID_RESOURCE |
The specified resource server URI is not valid or accepted by the
authorisation server.
|
static ErrorObject |
INVALID_SCOPE |
The requested scope is invalid, unknown, or malformed.
|
static ErrorObject |
SERVER_ERROR |
The authorisation server encountered an unexpected condition which
prevented it from fulfilling the request.
|
static ErrorObject |
TEMPORARILY_UNAVAILABLE |
The authorisation server is currently unable to handle the request
due to a temporary overloading or maintenance of the server.
|
static ErrorObject |
UNAUTHORIZED_CLIENT |
The client is not authorised to request an authorisation code using
this method.
|
static ErrorObject |
UNSUPPORTED_GRANT_TYPE |
The authorisation grant type is not supported by the authorisation
server.
|
static ErrorObject |
UNSUPPORTED_RESPONSE_TYPE |
The authorisation server does not support obtaining an authorisation
code using this method.
|
public static final ErrorObject INVALID_REQUEST
public static final ErrorObject UNAUTHORIZED_CLIENT
public static final ErrorObject ACCESS_DENIED
public static final ErrorObject UNSUPPORTED_RESPONSE_TYPE
public static final ErrorObject INVALID_SCOPE
public static final ErrorObject SERVER_ERROR
public static final ErrorObject TEMPORARILY_UNAVAILABLE
public static final ErrorObject INVALID_CLIENT
public static final ErrorObject INVALID_GRANT
public static final ErrorObject UNSUPPORTED_GRANT_TYPE
public static final ErrorObject INVALID_RESOURCE
Copyright © 2019 Connect2id Ltd.. All rights reserved.