ApplicationVerifier interface | Firebase JavaScript API reference (original) (raw)
ApplicationVerifier interface
A verifier for domain verification and abuse prevention.
Currently, the only implementation is RecaptchaVerifier.
Signature:
export interface ApplicationVerifier
Properties
| Property | Type | Description |
|---|---|---|
| type | string | Identifies the type of application verifier (e.g. "recaptcha"). |
Methods
| Method | Description |
|---|---|
| verify() | Executes the verification process. |
Identifies the type of application verifier (e.g. "recaptcha").
Signature:
readonly type: string;
ApplicationVerifier.verify()
Executes the verification process.
Signature:
verify(): Promise<string>;
Returns:
Promise
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 the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-22 UTC.