public static enum ClientTokenMetadata.ClientTokenStatus extends Enum<ClientTokenMetadata.ClientTokenStatus>
| Enum Constant and Description |
|---|
RECOVERABLE
Indicates there was an error which occurred during last authorisation attempt.
|
UNKNOWN
Indicates that this token hasn't been used yet.
|
UNRECOVERABLE
Indicates that the token is permanently unrecoverable and new
ClientToken must be obtained. |
VALID
Indicates that this token pair has been successfully used during last authorisation attempt.
|
| Modifier and Type | Method and Description |
|---|---|
static ClientTokenMetadata.ClientTokenStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientTokenMetadata.ClientTokenStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientTokenMetadata.ClientTokenStatus UNKNOWN
public static final ClientTokenMetadata.ClientTokenStatus VALID
public static final ClientTokenMetadata.ClientTokenStatus RECOVERABLE
refresh token may be used to try to fix this problem.
Without successful authorisation attempt it will eventually transition into UNRECOVERABLE.public static final ClientTokenMetadata.ClientTokenStatus UNRECOVERABLE
ClientToken must be obtained.
The refresh token can't be used to fix this problem.public static ClientTokenMetadata.ClientTokenStatus[] values()
for (ClientTokenMetadata.ClientTokenStatus c : ClientTokenMetadata.ClientTokenStatus.values()) System.out.println(c);
public static ClientTokenMetadata.ClientTokenStatus 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 © 2020 Atlassian. All rights reserved.