|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AccessTokenErrorResponse.KnownError>
com.google.api.client.auth.oauth2.AccessTokenErrorResponse.KnownError
public static enum AccessTokenErrorResponse.KnownError
Error codes listed in Error Codes.
| Enum Constant Summary | |
|---|---|
INVALID_CLIENT
The client identifier provided is invalid, the client failed to authenticate, the client did not include its credentials, provided multiple client credentials, or used unsupported credentials type. |
|
INVALID_GRANT
The provided access grant is invalid, expired, or revoked (e.g. |
|
INVALID_REQUEST
The request is missing a required parameter, includes an unsupported parameter or parameter value, repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed. |
|
INVALID_SCOPE
The requested scope is invalid, unknown, malformed, or exceeds the previously granted scope. |
|
UNAUTHORIZED_CLIENT
The authenticated client is not authorized to use the access grant type provided. |
|
UNSUPPORTED_GRANT_TYPE
The access grant included - its type or another attribute - is not supported by the authorization server. |
|
| Method Summary | |
|---|---|
static AccessTokenErrorResponse.KnownError |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AccessTokenErrorResponse.KnownError[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AccessTokenErrorResponse.KnownError INVALID_REQUEST
public static final AccessTokenErrorResponse.KnownError INVALID_CLIENT
public static final AccessTokenErrorResponse.KnownError UNAUTHORIZED_CLIENT
public static final AccessTokenErrorResponse.KnownError INVALID_GRANT
public static final AccessTokenErrorResponse.KnownError UNSUPPORTED_GRANT_TYPE
public static final AccessTokenErrorResponse.KnownError INVALID_SCOPE
| Method Detail |
|---|
public static AccessTokenErrorResponse.KnownError[] values()
for (AccessTokenErrorResponse.KnownError c : AccessTokenErrorResponse.KnownError.values()) System.out.println(c);
public static AccessTokenErrorResponse.KnownError valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||