Enum Class TotpRejectionReason
- All Implemented Interfaces:
Serializable, Comparable<TotpRejectionReason>, Constable
Fixed, redacted application-visible reasons for rejected TOTP operations.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInitial enrollment cannot replace an active factor.The server-owned operation or browser binding did not match.A pending enrollment already exists or its generation changed.The pending enrollment was absent or expired.The approved factor generation is no longer current.The submitted code was invalid, expired or already consumed.No active factor exists for this account.The approved recovery batch is no longer current.The input, binding or requested transition was not accepted. -
Method Summary
Modifier and TypeMethodDescriptionstatic TotpRejectionReasonReturns the enum constant of this class with the specified name.static TotpRejectionReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
REJECTED
The input, binding or requested transition was not accepted. -
INVALID_CODE
The submitted code was invalid, expired or already consumed. -
NOT_ENROLLED
No active factor exists for this account. -
ALREADY_ENROLLED
Initial enrollment cannot replace an active factor. -
ENROLLMENT_NOT_FOUND
The pending enrollment was absent or expired. -
ENROLLMENT_CONFLICT
A pending enrollment already exists or its generation changed. -
FACTOR_MISMATCH
The approved factor generation is no longer current. -
RECOVERY_BATCH_MISMATCH
The approved recovery batch is no longer current. -
BINDING_MISMATCH
The server-owned operation or browser binding did not match.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-