public static enum AuthenticationResponse.Type extends java.lang.Enum<AuthenticationResponse.Type>
| Enum Constant and Description |
|---|
CODE
The response is a code reply.
|
EMPTY
Response doesn't contain data because auth flow was cancelled or LoginActivity killed.
|
ERROR
The response is an error response.
|
TOKEN
The response is an implicit grant with access token.
|
UNKNOWN
The response is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static AuthenticationResponse.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationResponse.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationResponse.Type CODE
public static final AuthenticationResponse.Type TOKEN
public static final AuthenticationResponse.Type ERROR
public static final AuthenticationResponse.Type EMPTY
public static final AuthenticationResponse.Type UNKNOWN
public static AuthenticationResponse.Type[] values()
for (AuthenticationResponse.Type c : AuthenticationResponse.Type.values()) System.out.println(c);
public static AuthenticationResponse.Type 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 nullpublic java.lang.String toString()
toString in class java.lang.Enum<AuthenticationResponse.Type>