RecaptchaAction

public final class RecaptchaAction


Actions (e.g., RecaptchaAction.login) intended to be protected by reCAPTCHA Enterprise. An instance of this object should be passed to RecaptchaClient.execute or RecaptchaTasksClient.executeTask.

If the user action you try to protect from is not listed here, please create a custom RecaptchaAction using RecaptchaAction.custom.

Summary

Public fields

static final @NonNull RecaptchaAction

Indicates that the protected action is an Account Update workflow.

static final @NonNull RecaptchaAction

Indicates that the protected action is an Email Update Workflow.

static final @NonNull RecaptchaAction

Indicates that the protected action is a List Payment Methods workflow.

static final @NonNull RecaptchaAction

Indicates that the protected action is a login workflow.

static final @NonNull RecaptchaAction

Indicates that the protected action is a Password Reset workflow.

static final @NonNull RecaptchaAction

Indicates that the protected action is a Phone Number Update workflow.

static final @NonNull RecaptchaAction

Indicates that the protected action is a Purchase Workflow.

static final @NonNull RecaptchaAction

Indicates that the protected action is a Recover Account workflow.

static final @NonNull RecaptchaAction

Indicates that the protected action is a Redeem Code workflow.

static final @NonNull RecaptchaAction

Indicates that the protected action is a Registration workflow.

static final @NonNull RecaptchaAction

Indicates that the protected action is a Security Question Change workflow.

static final @NonNull RecaptchaAction

Indicates that the protected action is a sign-up workflow.

static final @NonNull RecaptchaAction

Indicates that the protected action is a Multi Factor Authentication workflow.

Public methods

static final @NonNull RecaptchaAction
custom(@NonNull String customAction)

A customized user action.

final @NonNull String

Label of protected action.

Public fields

ACCOUNT_UPDATE

public static final @NonNull RecaptchaAction ACCOUNT_UPDATE

Indicates that the protected action is an Account Update workflow.

EMAIL_UPDATE

public static final @NonNull RecaptchaAction EMAIL_UPDATE

Indicates that the protected action is an Email Update Workflow.

LIST_PAYMENT_METHODS

public static final @NonNull RecaptchaAction LIST_PAYMENT_METHODS

Indicates that the protected action is a List Payment Methods workflow.

LOGIN

public static final @NonNull RecaptchaAction LOGIN

Indicates that the protected action is a login workflow.

PASSWORD_RESET

public static final @NonNull RecaptchaAction PASSWORD_RESET

Indicates that the protected action is a Password Reset workflow.

PHONE_NUMBER_UPDATE

public static final @NonNull RecaptchaAction PHONE_NUMBER_UPDATE

Indicates that the protected action is a Phone Number Update workflow.

PURCHASE

public static final @NonNull RecaptchaAction PURCHASE

Indicates that the protected action is a Purchase Workflow.

RECOVER_ACCOUNT

public static final @NonNull RecaptchaAction RECOVER_ACCOUNT

Indicates that the protected action is a Recover Account workflow.

REDEEM_CODE

public static final @NonNull RecaptchaAction REDEEM_CODE

Indicates that the protected action is a Redeem Code workflow.

REGISTRATION

public static final @NonNull RecaptchaAction REGISTRATION

Indicates that the protected action is a Registration workflow.

SECURITY_QUESTION_CHANGE

public static final @NonNull RecaptchaAction SECURITY_QUESTION_CHANGE

Indicates that the protected action is a Security Question Change workflow.

SIGNUP

public static final @NonNull RecaptchaAction SIGNUP

Indicates that the protected action is a sign-up workflow.

TRIGGER_MFA

public static final @NonNull RecaptchaAction TRIGGER_MFA

Indicates that the protected action is a Multi Factor Authentication workflow.

Public methods

custom

public static final @NonNull RecaptchaAction custom(@NonNull String customAction)

A customized user action.

getAction

public final @NonNull String getAction()

Label of protected action.