Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudRecaptchaenterpriseV1WebKeySettings

import type { GoogleCloudRecaptchaenterpriseV1WebKeySettings } from "https://googleapis.deno.dev/v1/recaptchaenterprise:v1.ts";

Settings specific to keys that can be used by websites.

interface GoogleCloudRecaptchaenterpriseV1WebKeySettings {
allowAllDomains?: boolean;
allowAmpTraffic?: boolean;
allowedDomains?: string[];
challengeSecurityPreference?:
| "CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED"
| "USABILITY"
| "BALANCE"
| "SECURITY";
integrationType?:
| "INTEGRATION_TYPE_UNSPECIFIED"
| "SCORE"
| "CHECKBOX"
| "INVISIBLE";
}

§Properties

§
allowAllDomains?: boolean
[src]

Optional. If set to true, it means allowed_domains will not be enforced.

§
allowAmpTraffic?: boolean
[src]

Optional. If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type.

§
allowedDomains?: string[]
[src]

Optional. Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com'

§
challengeSecurityPreference?: "CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED" | "USABILITY" | "BALANCE" | "SECURITY"
[src]

Optional. Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE.

§
integrationType?: "INTEGRATION_TYPE_UNSPECIFIED" | "SCORE" | "CHECKBOX" | "INVISIBLE"
[src]

Required. Describes how this key is integrated with the website.