public enum ActionConfirmationStatus extends java.lang.Enum<ActionConfirmationStatus>
PasswordInputDTO.
A renewable password is a password that the user can discard and request for a new one (i.e an OTP).
A medium is the way a user can request for a new renewable password (email, sms, etc).| Enum Constant and Description |
|---|
ACTIVE_DEVICE
The user has an active trusted device and can confirm the action.
|
ACTIVE_PASSWORD
The user has an active password and can confirm the action.
|
ACTIVE_RENEWABLE_PASSWORD
The user has an active password and can confirm with it or request a new one through one of the allowed mediums.
|
ACTIVE_RENEWABLE_PASSWORD_NOT_ALLOWED_MEDIUMS
The user has an active password and must confirm with it because he can't request a new one because doesn't have
any allowed medium.
|
NOT_ACTIVE_DEVICE
The user doesn't have an active trusted device.
|
NOT_ACTIVE_DEVICE_NOR_PASSWORD
The user doesn't have a trusted device nor an active password and can't request for a new one (it isn't
renewable) then he can't confirm the action.
|
NOT_ACTIVE_DEVICE_NOR_RENEWABLE_PASSWORD_NOT_ALLOWED_MEDIUMS
The user doesn't have a trusted device nor an active renewable password and can't request for a new one (there is
no allowed mediums) then he can't confirm the action.
|
NOT_ACTIVE_PASSWORD
The user doesn't have an active password then he can't confirm the action because it's not a renewable one.
|
NOT_ACTIVE_RENEWABLE_PASSWORD
The user doesn't have an active renewable but has at least one allowed medium to request through it a new OTP.
|
NOT_ACTIVE_RENEWABLE_PASSWORD_NOT_ALLOWED_MEDIUMS
The user doesn't have an active renewable and can't request a new one because he doesn't have any allowed medium
to request through.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumMessageKeyResolver<ActionConfirmationStatus> |
resolverForActionConfirmation()
Returns an
EnumMessageKeyResolver for translation keys used to confirm the action |
static EnumMessageKeyResolver<ActionConfirmationStatus> |
resolverForReceiveConfirmation()
Returns an
EnumMessageKeyResolver for translation keys used to confirm a payment by the payer (receive
payment). |
static ActionConfirmationStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActionConfirmationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionConfirmationStatus NOT_ACTIVE_RENEWABLE_PASSWORD_NOT_ALLOWED_MEDIUMS
public static final ActionConfirmationStatus NOT_ACTIVE_RENEWABLE_PASSWORD
public static final ActionConfirmationStatus NOT_ACTIVE_PASSWORD
public static final ActionConfirmationStatus ACTIVE_RENEWABLE_PASSWORD_NOT_ALLOWED_MEDIUMS
public static final ActionConfirmationStatus ACTIVE_RENEWABLE_PASSWORD
public static final ActionConfirmationStatus ACTIVE_PASSWORD
public static final ActionConfirmationStatus ACTIVE_DEVICE
public static final ActionConfirmationStatus NOT_ACTIVE_DEVICE
public static final ActionConfirmationStatus NOT_ACTIVE_DEVICE_NOR_PASSWORD
public static final ActionConfirmationStatus NOT_ACTIVE_DEVICE_NOR_RENEWABLE_PASSWORD_NOT_ALLOWED_MEDIUMS
public static ActionConfirmationStatus[] values()
for (ActionConfirmationStatus c : ActionConfirmationStatus.values()) System.out.println(c);
public static ActionConfirmationStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static EnumMessageKeyResolver<ActionConfirmationStatus> resolverForActionConfirmation()
EnumMessageKeyResolver for translation keys used to confirm the actionpublic static EnumMessageKeyResolver<ActionConfirmationStatus> resolverForReceiveConfirmation()
EnumMessageKeyResolver for translation keys used to confirm a payment by the payer (receive
payment).