Package com.okta.authn.sdk.resource
Enum AuthenticationStatus
- All Implemented Interfaces:
Serializable
,Comparable<AuthenticationStatus>
,java.lang.constant.Constable
From: https://developer.okta.com/docs/api/resources/authn#transaction-state
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe user account is locked; self-service unlock or admin unlock is required.The user must verify the factor-specific challenge.The user must select and enroll an available factor for additional verification.The user must activate the factor to complete enrollment.The user must provide additional verification with a previously enrolled factor.The user’s password was successfully validated but is expired.The user successfully answered their recovery question and must to set a new password.The user’s password was successfully validated but is about to expire and should be changed.The user has requested a recovery token to reset their password or unlock their account.The user must verify the factor-specific recovery challenge.The transaction has completed successfully.User tried to access protected resource (ex: an app) but user is not authenticatedOther state NOT directly supported by this implementation. -
Method Summary
Modifier and TypeMethodDescriptionstatic AuthenticationStatus
Returns the enum constant of this type with the specified name.static AuthenticationStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNAUTHENTICATED
User tried to access protected resource (ex: an app) but user is not authenticated -
PASSWORD_WARN
The user’s password was successfully validated but is about to expire and should be changed. -
PASSWORD_EXPIRED
The user’s password was successfully validated but is expired. -
RECOVERY
The user has requested a recovery token to reset their password or unlock their account. -
RECOVERY_CHALLENGE
The user must verify the factor-specific recovery challenge. -
PASSWORD_RESET
The user successfully answered their recovery question and must to set a new password. -
LOCKED_OUT
The user account is locked; self-service unlock or admin unlock is required. -
MFA_ENROLL
The user must select and enroll an available factor for additional verification. -
MFA_ENROLL_ACTIVATE
The user must activate the factor to complete enrollment. -
MFA_REQUIRED
The user must provide additional verification with a previously enrolled factor. -
MFA_CHALLENGE
The user must verify the factor-specific challenge. -
SUCCESS
The transaction has completed successfully. -
UNKNOWN
Other state NOT directly supported by this implementation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-