Package com.okta.sdk.resource
Enum FactorResultType
- java.lang.Object
-
- java.lang.Enum<FactorResultType>
-
- com.okta.sdk.resource.FactorResultType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FactorResultType>
public enum FactorResultType extends java.lang.Enum<FactorResultType>
Enum FactorResultType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLED
CHALLENGE
ERROR
FAILED
PASSCODE_REPLAYED
REJECTED
SDK_UNKNOWN
SUCCESS
TIME_WINDOW_EXCEEDED
TIMEOUT
WAITING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static FactorResultType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FactorResultType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final FactorResultType SUCCESS
-
CHALLENGE
public static final FactorResultType CHALLENGE
-
WAITING
public static final FactorResultType WAITING
-
FAILED
public static final FactorResultType FAILED
-
REJECTED
public static final FactorResultType REJECTED
-
TIMEOUT
public static final FactorResultType TIMEOUT
-
TIME_WINDOW_EXCEEDED
public static final FactorResultType TIME_WINDOW_EXCEEDED
-
PASSCODE_REPLAYED
public static final FactorResultType PASSCODE_REPLAYED
-
ERROR
public static final FactorResultType ERROR
-
CANCELLED
public static final FactorResultType CANCELLED
-
SDK_UNKNOWN
public static final FactorResultType SDK_UNKNOWN
-
-
Method Detail
-
values
public static FactorResultType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FactorResultType c : FactorResultType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FactorResultType 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 namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<FactorResultType>
-
-