ApplicationVerifier interface
Stay organized with collections
Save and categorize content based on your preferences.
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. |
ApplicationVerifier.type
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<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 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.
[null,null,["Last updated 2022-07-22 UTC."],[],[],null,["A verifier for domain verification and abuse prevention.\n\nCurrently, the only implementation is [RecaptchaVerifier](./auth.recaptchaverifier.md#recaptchaverifier_class).\n\n**Signature:** \n\n export interface ApplicationVerifier \n\nProperties\n\nMethods\n\nApplicationVerifier.type\n\nIdentifies the type of application verifier (e.g. \"recaptcha\").\n\n**Signature:** \n\n readonly type: string;\n\nApplicationVerifier.verify()\n\nExecutes the verification process.\n\n**Signature:** \n\n verify(): Promise\u003cstring\u003e;\n\n**Returns:**\n\nPromise\\\u003cstring\\\u003e\n\nA Promise for a token that can be used to assert the validity of a request."]]