eTextReader.authentication
Enum Authenticator.AUTHENTICATION_RESULT
java.lang.Object
java.lang.Enum<Authenticator.AUTHENTICATION_RESULT>
eTextReader.authentication.Authenticator.AUTHENTICATION_RESULT
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Authenticator.AUTHENTICATION_RESULT>
- Enclosing interface:
- Authenticator
public static enum Authenticator.AUTHENTICATION_RESULT
- extends java.lang.Enum<Authenticator.AUTHENTICATION_RESULT>
This enum provides the set of possible return values for the authenticate and updateSecret methods.
- Author:
- mcfall
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
NO_SUCH_IDENTITY
public static final Authenticator.AUTHENTICATION_RESULT NO_SUCH_IDENTITY
INVALID_SECRET
public static final Authenticator.AUTHENTICATION_RESULT INVALID_SECRET
SUCCESS
public static final Authenticator.AUTHENTICATION_RESULT SUCCESS
FAILED
public static final Authenticator.AUTHENTICATION_RESULT FAILED
OTHER_ERROR
public static final Authenticator.AUTHENTICATION_RESULT OTHER_ERROR
OPERATIONAL_ERROR
public static final Authenticator.AUTHENTICATION_RESULT OPERATIONAL_ERROR
values
public static final Authenticator.AUTHENTICATION_RESULT[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Authenticator.AUTHENTICATION_RESULT c : Authenticator.AUTHENTICATION_RESULT.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Authenticator.AUTHENTICATION_RESULT valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name