Class ActionConfirmationHelper


  • public class ActionConfirmationHelper
    extends Object
    Helper class for actions requiring confirmation using device / password confirmations.
    • Constructor Detail

      • ActionConfirmationHelper

        public ActionConfirmationHelper()
    • Method Detail

      • isCanConfirm

        public static boolean isCanConfirm​(PasswordInputDTO input,
                                           ActionConfirmationMode mode)
        Returns true if the action can be confirmed with a password or device in case the given mode is null. Otherwise, with the specified mode. If the given input is null then it means not required confirmation at all then it'll return true.