The Firebase JS SDK is now in BETA!
This EAP site is no longer maintained. See the official Firebase Documentation site for the latest documentation and information about the Firebase JS SDK.

Home > @firebase/auth > RecaptchaVerifier

RecaptchaVerifier class

An reCAPTCHA-based application verifier.

Signature:

export declare class RecaptchaVerifier implements ApplicationVerifierInternal 

Implements: ApplicationVerifierInternal

Constructors

Constructor Modifiers Description
(constructor)(containerOrId, parameters, authExtern) Constructs a new instance of the RecaptchaVerifier class

Properties

Property Modifiers Type Description
type (not declared) The application verifier type.

Methods

Method Modifiers Description
clear() Clears the reCAPTCHA widget from the page and destroys the instance.
render() Renders the reCAPTCHA widget on the page.
verify() Waits for the user to solve the reCAPTCHA and resolves with the reCAPTCHA token.