ApplicationVerifier interface

A verifier for domain verification and abuse prevention.

Currently, the only implementation is RecaptchaVerifier.

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.