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