public static enum TokenFailRequest.Reason extends Enum<TokenFailRequest.Reason>
| Enum Constant and Description |
|---|
INVALID_RESOURCE_OWNER_CREDENTIALS
The resource owner's credentials (
username and
password) contained in the token request (whose
flow is
"Resource Owner Password Credentials") are invalid. |
UNKNOWN
Unknown reason.
|
| Modifier and Type | Method and Description |
|---|---|
static TokenFailRequest.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TokenFailRequest.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TokenFailRequest.Reason UNKNOWN
public static final TokenFailRequest.Reason INVALID_RESOURCE_OWNER_CREDENTIALS
username and
password) contained in the token request (whose
flow is
"Resource Owner Password Credentials") are invalid.public static TokenFailRequest.Reason[] values()
for (TokenFailRequest.Reason c : TokenFailRequest.Reason.values()) System.out.println(c);
public static TokenFailRequest.Reason 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.