RecaptchaAction

Stay organized with collections Save and categorize content based on your preferences.
data class RecaptchaAction
kotlin.Any
   ↳ com.google.android.recaptcha.RecaptchaAction

Actions (e.g., RecaptchaAction.login) intended to be protected by reCAPTCHA. 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

Companion functions

RecaptchaAction
custom(customAction: String)

A customized user action.

Properties

String

Label of protected action.

Companion properties

RecaptchaAction

Indicates that the protected action is a Login workflow.

RecaptchaAction

Indicates that the protected action is a Signup workflow.

Properties

action

val action: String

Label of protected action.

Companion functions

custom

@JvmStatic fun custom(customAction: String): RecaptchaAction

A customized user action.

Companion properties

LOGIN

val LOGIN: RecaptchaAction

Indicates that the protected action is a Login workflow.

SIGNUP

val SIGNUP: RecaptchaAction

Indicates that the protected action is a Signup workflow.