Enum InvalidDeviceConfirmationResult

    • Enum Constant Detail

      • MAX_CHECK_ATTEMPTS_REACHED

        public static final InvalidDeviceConfirmationResult MAX_CHECK_ATTEMPTS_REACHED
        When checking a processed and the maximum number of attempts to check for an approved confirmation was reached (the user was blocked).
      • INVALID_CONFIRMATION

        public static final InvalidDeviceConfirmationResult INVALID_CONFIRMATION
        When approving / rejecting / checking and the confirmation was not found or the input fields are not valid.
      • INVALID_DEVICE

        public static final InvalidDeviceConfirmationResult INVALID_DEVICE
        When approving / rejecting a pending confirmation and the trusted device was not found.
    • Method Detail

      • values

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

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