RecaptchaVerifier class abstract
An reCAPTCHA-based application verifier.
Constructors
- RecaptchaVerifier({required FirebaseAuth auth, String? container, RecaptchaVerifierSize size = RecaptchaVerifierSize.normal, RecaptchaVerifierTheme theme = RecaptchaVerifierTheme.light, RecaptchaVerifierOnSuccess? onSuccess, RecaptchaVerifierOnError? onError, RecaptchaVerifierOnExpired? onExpired})
-
Creates a new RecaptchaVerifier instance used to render a reCAPTCHA widget
when calling
signInWithPhoneNumber
.factory
Properties
Methods
-
clear(
) → void - Clears the reCAPTCHA widget from the page and destroys the current instance.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
) → Future< int> - Renders the reCAPTCHA widget on the page.
-
toString(
) → String -
A string representation of this object.
inherited
-
verify(
) → Future< String> - Waits for the user to solve the reCAPTCHA and resolves with the reCAPTCHA token.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited