AnreCAPTCHA-based applicationverifier.
This class does not work in a Node.js environment.
- param
The reCAPTCHA container parameter. Thishas different meaning depending on whether the reCAPTCHA is hidden orvisible. For a visible reCAPTCHA the container must be empty. If a stringis used, it has to correspond to an element ID. The corresponding elementmust also must be in the DOM at the time of initialization.
- param
The optional reCAPTCHA parameters. Check thereCAPTCHA docs for a comprehensive list. All parameters are acceptedexcept for the sitekey. Firebase Auth backend provisions a reCAPTCHA foreach project and will configure this upon rendering. For an invisiblereCAPTCHA, a size key must have the value 'invisible'.
- param
The corresponding Firebase app. If none isprovided, the default Firebase App instance is used. A Firebase Appinstance must be initialized with an API key, otherwise an error will bethrown.
Implements
Index
Constructors
constructor
Properties
type
Implementation ofApplicationVerifier.type
Inherited fromRecaptchaVerifier.type
The application verifier type. For a reCAPTCHA verifier, this is 'recaptcha'.
Methods
clear
render
verify
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 2023-09-28 UTC.