public static enum OAuth2Profile.AccessTokenStatus extends Enum<OAuth2Profile.AccessTokenStatus>
Enum Constant and Description |
---|
ENTERED_MANUALLY |
EXPIRED |
RECEIVED_AUTHORIZATION_CODE |
RETRIEVAL_CANCELED |
RETRIEVED_FROM_SERVER |
UNKNOWN |
WAITING_FOR_AUTHORIZATION |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static OAuth2Profile.AccessTokenStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2Profile.AccessTokenStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth2Profile.AccessTokenStatus UNKNOWN
public static final OAuth2Profile.AccessTokenStatus ENTERED_MANUALLY
public static final OAuth2Profile.AccessTokenStatus WAITING_FOR_AUTHORIZATION
public static final OAuth2Profile.AccessTokenStatus RECEIVED_AUTHORIZATION_CODE
public static final OAuth2Profile.AccessTokenStatus RETRIEVED_FROM_SERVER
public static final OAuth2Profile.AccessTokenStatus RETRIEVAL_CANCELED
public static final OAuth2Profile.AccessTokenStatus EXPIRED
public static OAuth2Profile.AccessTokenStatus[] values()
for (OAuth2Profile.AccessTokenStatus c : OAuth2Profile.AccessTokenStatus.values()) System.out.println(c);
public static OAuth2Profile.AccessTokenStatus 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 nullpublic String toString()
toString
in class Enum<OAuth2Profile.AccessTokenStatus>
Copyright © 2019. All Rights Reserved.