ApplicationVerifier interface

A verifier for domain verification and abuse prevention.

Currently, the only implementation isRecaptchaVerifier.

Signature:

exportinterfaceApplicationVerifier

Properties

PropertyTypeDescription
typestringIdentifies the type of application verifier (e.g. "recaptcha").

Methods

MethodDescription
verify()Executes the verification process.

ApplicationVerifier.type

Identifies the type of application verifier (e.g. "recaptcha").

Signature:

readonlytype:string;

ApplicationVerifier.verify()

Executes the verification process.

Signature:

verify():Promise<string>;

Returns:

Promise<string>

A Promise for a token that can be used to assert the validity of a request.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2022-07-22 UTC.