com.nimbusds.oauth2.sdk
Class OAuth2Error

java.lang.Object
  extended by com.nimbusds.oauth2.sdk.OAuth2Error

public final class OAuth2Error
extends Object

OAuth 2.0 authorisation and token endpoint errors.

Author:
Vladimir Dzhuvinov

Field Summary
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 code, or is otherwise malformed.
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.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVALID_REQUEST

public static final ErrorObject INVALID_REQUEST
The request is missing a required parameter, includes an invalid parameter code, or is otherwise malformed.


UNAUTHORIZED_CLIENT

public static final ErrorObject UNAUTHORIZED_CLIENT
The client is not authorised to request an authorisation code using this method.


ACCESS_DENIED

public static final ErrorObject ACCESS_DENIED
The resource owner or authorisation server denied the request.


UNSUPPORTED_RESPONSE_TYPE

public static final ErrorObject UNSUPPORTED_RESPONSE_TYPE
The authorisation server does not support obtaining an authorisation code using this method.


INVALID_SCOPE

public static final ErrorObject INVALID_SCOPE
The requested scope is invalid, unknown, or malformed.


SERVER_ERROR

public static final ErrorObject SERVER_ERROR
The authorisation server encountered an unexpected condition which prevented it from fulfilling the request.


TEMPORARILY_UNAVAILABLE

public static final ErrorObject TEMPORARILY_UNAVAILABLE
The authorisation server is currently unable to handle the request due to a temporary overloading or maintenance of the server.


INVALID_CLIENT

public static final ErrorObject INVALID_CLIENT
Client authentication failed (e.g. unknown client, no client authentication included, or unsupported authentication method).


INVALID_GRANT

public static final ErrorObject INVALID_GRANT
The provided authorisation grant (e.g. authorisation code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.


UNSUPPORTED_GRANT_TYPE

public static final ErrorObject UNSUPPORTED_GRANT_TYPE
The authorisation grant type is not supported by the authorisation server.



Copyright © 2013 NimbusDS. All Rights Reserved.