public enum OpenIDAuthenticationStatus extends java.lang.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 |
---|---|
java.lang.String |
toString() |
static OpenIDAuthenticationStatus |
valueOf(java.lang.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(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<OpenIDAuthenticationStatus>