public enum OpenIDAuthenticationStatus extends Enum<OpenIDAuthenticationStatus>
Enum Constant and Description |
---|
CANCELLED
This code indicates that the user cancelled their login request
|
ERROR
This code indicates the server reported an error
|
FAILURE
This code indicates a failed authentication request
|
SETUP_NEEDED
This code indicates that the user needs to do additional work to prove their
identity
|
SUCCESS
This code indicates a successful authentication request
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static OpenIDAuthenticationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenIDAuthenticationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenIDAuthenticationStatus SUCCESS
public static final OpenIDAuthenticationStatus FAILURE
public static final OpenIDAuthenticationStatus ERROR
public static final OpenIDAuthenticationStatus SETUP_NEEDED
public static final OpenIDAuthenticationStatus CANCELLED
public static OpenIDAuthenticationStatus[] values()
for (OpenIDAuthenticationStatus c : OpenIDAuthenticationStatus.values()) System.out.println(c);
public static OpenIDAuthenticationStatus 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<OpenIDAuthenticationStatus>