public static enum OAuth2AccessTokenErrorResponse.ErrorCode extends Enum<OAuth2AccessTokenErrorResponse.ErrorCode>
| Enum Constant and Description |
|---|
invalid_client |
invalid_grant |
invalid_request |
invalid_scope |
unauthorized_client |
unsupported_grant_type |
| Modifier and Type | Method and Description |
|---|---|
static OAuth2AccessTokenErrorResponse.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2AccessTokenErrorResponse.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth2AccessTokenErrorResponse.ErrorCode invalid_request
public static final OAuth2AccessTokenErrorResponse.ErrorCode invalid_client
public static final OAuth2AccessTokenErrorResponse.ErrorCode invalid_grant
public static final OAuth2AccessTokenErrorResponse.ErrorCode unauthorized_client
public static final OAuth2AccessTokenErrorResponse.ErrorCode unsupported_grant_type
public static final OAuth2AccessTokenErrorResponse.ErrorCode invalid_scope
public static OAuth2AccessTokenErrorResponse.ErrorCode[] values()
for (OAuth2AccessTokenErrorResponse.ErrorCode c : OAuth2AccessTokenErrorResponse.ErrorCode.values()) System.out.println(c);
public static OAuth2AccessTokenErrorResponse.ErrorCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.