Enum AuthenticationStatus

    • Enum Constant Detail

      • UNAUTHENTICATED

        public static final AuthenticationStatus UNAUTHENTICATED
        User tried to access protected resource (ex: an app) but user is not authenticated
      • PASSWORD_WARN

        public static final AuthenticationStatus PASSWORD_WARN
        The user’s password was successfully validated but is about to expire and should be changed.
      • PASSWORD_EXPIRED

        public static final AuthenticationStatus PASSWORD_EXPIRED
        The user’s password was successfully validated but is expired.
      • RECOVERY

        public static final AuthenticationStatus RECOVERY
        The user has requested a recovery token to reset their password or unlock their account.
      • RECOVERY_CHALLENGE

        public static final AuthenticationStatus RECOVERY_CHALLENGE
        The user must verify the factor-specific recovery challenge.
      • PASSWORD_RESET

        public static final AuthenticationStatus PASSWORD_RESET
        The user successfully answered their recovery question and must to set a new password.
      • LOCKED_OUT

        public static final AuthenticationStatus LOCKED_OUT
        The user account is locked; self-service unlock or admin unlock is required.
      • MFA_ENROLL

        public static final AuthenticationStatus MFA_ENROLL
        The user must select and enroll an available factor for additional verification.
      • MFA_ENROLL_ACTIVATE

        public static final AuthenticationStatus MFA_ENROLL_ACTIVATE
        The user must activate the factor to complete enrollment.
      • MFA_REQUIRED

        public static final AuthenticationStatus MFA_REQUIRED
        The user must provide additional verification with a previously enrolled factor.
      • MFA_CHALLENGE

        public static final AuthenticationStatus MFA_CHALLENGE
        The user must verify the factor-specific challenge.
      • SUCCESS

        public static final AuthenticationStatus SUCCESS
        The transaction has completed successfully.
      • UNKNOWN

        public static final AuthenticationStatus UNKNOWN
        Other state NOT directly supported by this implementation.
    • Method Detail

      • values

        public static AuthenticationStatus[] 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 (AuthenticationStatus c : AuthenticationStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AuthenticationStatus 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 name
        NullPointerException - if the argument is null