Resource: RecaptchaEnterpriseConfig
An app's reCAPTCHA Enterprise configuration object. This configuration is used by ExchangeRecaptchaEnterpriseToken to validate reCAPTCHA tokens issued to apps by reCAPTCHA Enterprise. It also controls certain properties of the returned , such as its AppCheckTokenttl.
| JSON representation |
|---|
{
"name": string,
"tokenTtl": string,
"siteKey": string,
"riskAnalysis": {
object ( |
| Fields | |
|---|---|
name |
Required. The relative resource name of the reCAPTCHA Enterprise configuration object, in the format: |
tokenTtl |
Specifies the duration for which App Check tokens exchanged from reCAPTCHA Enterprise tokens will be valid. If unset, a default value of 1 hour is assumed. Must be between 30 minutes and 7 days, inclusive. A duration in seconds with up to nine fractional digits, ending with ' |
siteKey |
The score-based site key created in reCAPTCHA Enterprise used to invoke reCAPTCHA and generate the reCAPTCHA tokens for your application. Important: This is not the |
riskAnalysis |
Specifies risk tolerance and requirements for your application. These settings correspond to requirements on the The default values for these settings work for most apps, and are recommended. |
RiskAnalysis
A settings object specifying risk tolerance and requirements for your application.
These settings correspond to requirements on the riskAnalysis tuple in the assessment obtained from reCAPTCHA Enterprise.
The default values for these settings work for most apps, and are recommended.
| JSON representation |
|---|
{ "minValidScore": number } |
| Fields | |
|---|---|
minValidScore |
Specifies a minimum score required for a reCAPTCHA token to be considered valid. If its score is greater than or equal to this value, it will be accepted; otherwise, it will be rejected. The value must be between 0.0 and 1.0. The default value is 0.5. |
Methods |
|
|---|---|
|
Atomically gets the RecaptchaEnterpriseConfigs for the specified list of apps. |
|
Gets the RecaptchaEnterpriseConfig for the specified app. |
|
Updates the RecaptchaEnterpriseConfig for the specified app. |