RecaptchaConfig interface

更新 reCAPTCHA 配置的请求接口。启用 reCAPTCHA Enterprise 集成即表示您同意 reCAPTCHA Enterprise服务条款

签名:

export interface RecaptchaConfig 

特性

财产类型描述
电子邮件密码执行状态RecaptchaProviderEnforcementState电子邮件密码提供商的强制执行状态。
托管规则Recaptcha管理规则[] reCAPTCHA 托管规则。
验证码验证码[] reCAPTCHA 密钥。
使用AccountDefender布尔值是否使用 Account Defender 进行 reCAPTCHA 评估。默认值为 false。

RecaptchaConfig.emailPasswordEnforcementState

电子邮件密码提供商的强制执行状态。

签名:

emailPasswordEnforcementState?: RecaptchaProviderEnforcementState;

RecaptchaConfig.托管规则

reCAPTCHA 托管规则。

签名:

managedRules?: RecaptchaManagedRule[];

RecaptchaConfig.recaptchaKeys

reCAPTCHA 密钥。

签名:

recaptchaKeys?: RecaptchaKey[];

RecaptchaConfig.useAccountDefender

是否使用 Account Defender 进行 reCAPTCHA 评估。默认值为 false。

签名:

useAccountDefender?: boolean;