RecaptchaAction

data 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 companion functions

RecaptchaAction
custom(customAction: String)

A customized user action.

Public companion properties

RecaptchaAction

Indicates that the protected action is a login workflow.

RecaptchaAction

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

Public properties

String

Label of protected action.

Public companion functions

custom

fun custom(customAction: String): RecaptchaAction

A customized user action.

Public companion properties

LOGIN

val LOGINRecaptchaAction

Indicates that the protected action is a login workflow.

SIGNUP

val SIGNUPRecaptchaAction

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

Public properties

action

val actionString

Label of protected action.