public enum AuthResultCode extends java.lang.Enum<AuthResultCode>
| Enum Constant and Description |
|---|
ACCESS_DENIED
Access denied by user.
|
CANCELLED
Cancelled by user.
|
FAILED_TO_REFRESH
An error occurred trying to refresh an existing token.
|
IN_PROGRESS
The authorise process is in progress (Windows Phone 8.1 only).
|
INVALID_SCOPE
An invalid scope was specified.
|
NO_CACHED_TOKEN
A silent refresh from an existing token was not possible as there is no cached token.
|
SERVER_ERROR
A server error occurred.
|
SUCCESS
Completed Successfully.
|
UNAUTHORIZED_CLIENT
The client id was not valid.
|
| Modifier and Type | Method and Description |
|---|---|
static AuthResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthResultCode SUCCESS
public static final AuthResultCode CANCELLED
public static final AuthResultCode ACCESS_DENIED
public static final AuthResultCode UNAUTHORIZED_CLIENT
public static final AuthResultCode INVALID_SCOPE
public static final AuthResultCode SERVER_ERROR
public static final AuthResultCode FAILED_TO_REFRESH
public static final AuthResultCode NO_CACHED_TOKEN
public static final AuthResultCode IN_PROGRESS
public static AuthResultCode[] values()
for (AuthResultCode c : AuthResultCode.values()) System.out.println(c);
public static AuthResultCode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null