public enum AuthenticationStatus extends Enum<AuthenticationStatus>
Enum Constant and Description |
---|
LOCKED_OUT
The user account is locked; self-service unlock or admin unlock is required.
|
MFA_CHALLENGE
The user must verify the factor-specific challenge.
|
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.
|
PASSWORD_EXPIRED
The user’s password was successfully validated but is expired.
|
PASSWORD_RESET
The user successfully answered their recovery question and must to set a new password.
|
PASSWORD_WARN
The user’s password was successfully validated but is about to expire and should be changed.
|
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.
|
SUCCESS
The transaction has completed successfully.
|
UNAUTHENTICATED
User tried to access protected resource (ex: an app) but user is not authenticated
|
UNKNOWN
Other state NOT directly supported by this implementation.
|
Modifier and Type | Method and Description |
---|---|
static AuthenticationStatus |
valueOf(String name)
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.
|
public static final AuthenticationStatus UNAUTHENTICATED
public static final AuthenticationStatus PASSWORD_WARN
public static final AuthenticationStatus PASSWORD_EXPIRED
public static final AuthenticationStatus RECOVERY
public static final AuthenticationStatus RECOVERY_CHALLENGE
public static final AuthenticationStatus PASSWORD_RESET
public static final AuthenticationStatus LOCKED_OUT
public static final AuthenticationStatus MFA_ENROLL
public static final AuthenticationStatus MFA_ENROLL_ACTIVATE
public static final AuthenticationStatus MFA_REQUIRED
public static final AuthenticationStatus MFA_CHALLENGE
public static final AuthenticationStatus SUCCESS
public static final AuthenticationStatus UNKNOWN
public static AuthenticationStatus[] values()
for (AuthenticationStatus c : AuthenticationStatus.values()) System.out.println(c);
public static AuthenticationStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2018 Okta. All rights reserved.