Enum MfaStatus

    • Enum Constant Detail

      • NOT_REQUIRED

        public static final MfaStatus NOT_REQUIRED
        Multi-factor authentication is neither enforced by the system nor activated by the user.
      • REMEMBERED

        public static final MfaStatus REMEMBERED
        Multi-factor authentication applies, but a previous authentication is still remembered.
      • COMPLETED

        public static final MfaStatus COMPLETED
        Multi-factor authentication applies and was already completed in the current session.
      • REQUIRED

        public static final MfaStatus REQUIRED
        Multi-factor authentication applies and has to be completed now.
    • Method Detail

      • values

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

        public static MfaStatus 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