Package com.pingidentity.sdk.oobauth
Enum OOBAuthResultContext.Status
- java.lang.Object
-
- java.lang.Enum<OOBAuthResultContext.Status>
-
- com.pingidentity.sdk.oobauth.OOBAuthResultContext.Status
-
- All Implemented Interfaces:
Serializable,Comparable<OOBAuthResultContext.Status>
- Enclosing class:
- OOBAuthResultContext
public static enum OOBAuthResultContext.Status extends Enum<OOBAuthResultContext.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILUREThe out-of-band authentication/authorization failed or was denied.IN_PROGRESSThe out-of-band authentication/authorization transaction is still in progress.SUCCESSThe out-of-band authentication/authorization was approved or successful.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OOBAuthResultContext.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static OOBAuthResultContext.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final OOBAuthResultContext.Status SUCCESS
The out-of-band authentication/authorization was approved or successful.
-
IN_PROGRESS
public static final OOBAuthResultContext.Status IN_PROGRESS
The out-of-band authentication/authorization transaction is still in progress.
-
FAILURE
public static final OOBAuthResultContext.Status FAILURE
The out-of-band authentication/authorization failed or was denied.
-
-
Method Detail
-
values
public static OOBAuthResultContext.Status[] 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 (OOBAuthResultContext.Status c : OOBAuthResultContext.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OOBAuthResultContext.Status valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-