RecaptchaVerifierFactoryPlatform class abstract
A factory platform class for Recaptcha Verifier implementations.
- Inheritance
-
- Object
- PlatformInterface
- RecaptchaVerifierFactoryPlatform
Constructors
- RecaptchaVerifierFactoryPlatform()
- Creates a new RecaptchaVerifierFactoryPlatform instance.
Properties
- delegate → dynamic
-
Returns the assigned factory delegate.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The application verifier type. For a reCAPTCHA verifier, this is
'recaptcha'.
no setter
Methods
-
clear(
) → void - Clears the reCAPTCHA widget from the page and destroys the current instance.
-
delegateFor(
{required FirebaseAuthPlatform auth, String? container, RecaptchaVerifierSize size = RecaptchaVerifierSize.normal, RecaptchaVerifierTheme theme = RecaptchaVerifierTheme.light, RecaptchaVerifierOnSuccess? onSuccess, RecaptchaVerifierOnError? onError, RecaptchaVerifierOnExpired? onExpired}) → RecaptchaVerifierFactoryPlatform - Returns a RecaptchaVerifierFactoryPlatform delegate instance.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
) → Future< int> - Pre-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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ RecaptchaVerifierFactoryPlatform
-
Returns an assigned delegate instance.
getter/setter pair
Static Methods
-
verifyExtends(
RecaptchaVerifierFactoryPlatform instance) → void - Ensures that a delegate class extends RecaptchaVerifierFactoryPlatform.