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

GoogleCloudRecaptchaenterpriseV1TokenProperties

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

Properties of the provided event token.

interface GoogleCloudRecaptchaenterpriseV1TokenProperties {
readonly action?: string;
readonly androidPackageName?: string;
readonly createTime?: Date;
readonly hostname?: string;
readonly invalidReason?:
| "INVALID_REASON_UNSPECIFIED"
| "UNKNOWN_INVALID_REASON"
| "MALFORMED"
| "EXPIRED"
| "DUPE"
| "MISSING"
| "BROWSER_ERROR";
readonly iosBundleId?: string;
readonly valid?: boolean;
}

§Properties

§
readonly action?: string
[src]

Output only. Action name provided at token generation.

§
readonly androidPackageName?: string
[src]

Output only. The name of the Android package with which the token was generated (Android keys only).

§
readonly createTime?: Date
[src]

Output only. The timestamp corresponding to the generation of the token.

§
readonly hostname?: string
[src]

Output only. The hostname of the page on which the token was generated (Web keys only).

§
readonly invalidReason?: "INVALID_REASON_UNSPECIFIED" | "UNKNOWN_INVALID_REASON" | "MALFORMED" | "EXPIRED" | "DUPE" | "MISSING" | "BROWSER_ERROR"
[src]

Output only. Reason associated with the response when valid = false.

§
readonly iosBundleId?: string
[src]

Output only. The ID of the iOS bundle with which the token was generated (iOS keys only).

§
readonly valid?: boolean
[src]

Output only. Whether the provided user response token is valid. When valid = false, the reason could be specified in invalid_reason or it could also be due to a user failing to solve a challenge or a sitekey mismatch (i.e the sitekey used to generate the token was different than the one specified in the assessment).