|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AuthorizationResponse.KnownError>
com.google.api.client.auth.oauth2.draft10.AuthorizationResponse.KnownError
public static enum AuthorizationResponse.KnownError
Error codes listed in Error Codes.
| Enum Constant Summary | |
|---|---|
ACCESS_DENIED
The end-user or authorization server denied the request. |
|
INVALID_CLIENT
The client identifier provided is invalid. |
|
INVALID_REQUEST
The request is missing a required parameter, includes an unsupported parameter or parameter value, or is otherwise malformed. |
|
INVALID_SCOPE
The requested scope is invalid, unknown, or malformed. |
|
REDIRECT_URI_MISMATCH
The redirection URI provided does not match a pre-registered value. |
|
UNAUTHORIZED_CLIENT
The client is not authorized to use the requested response type. |
|
UNSUPPORTED_RESPONSE_TYPE
The requested response type is not supported by the authorization server. |
|
| Method Summary | |
|---|---|
static AuthorizationResponse.KnownError |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AuthorizationResponse.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 AuthorizationResponse.KnownError INVALID_REQUEST
public static final AuthorizationResponse.KnownError INVALID_CLIENT
public static final AuthorizationResponse.KnownError UNAUTHORIZED_CLIENT
public static final AuthorizationResponse.KnownError REDIRECT_URI_MISMATCH
public static final AuthorizationResponse.KnownError ACCESS_DENIED
public static final AuthorizationResponse.KnownError UNSUPPORTED_RESPONSE_TYPE
public static final AuthorizationResponse.KnownError INVALID_SCOPE
| Method Detail |
|---|
public static AuthorizationResponse.KnownError[] values()
for (AuthorizationResponse.KnownError c : AuthorizationResponse.KnownError.values()) System.out.println(c);
public static AuthorizationResponse.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 | |||||||||