EmailLinkAuthListener class abstract
A listener of the EmailLinkFlow lifecycle.
- Inheritance
-
- Object
- AuthListener
- EmailLinkAuthListener
- Implementers
Constructors
Properties
- auth → FirebaseAuth
-
The
FirebaseAuth
instance used to perform authentication against. By default,FirebaseAuth.instance
is used.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
-
provider
→ AuthProvider<
AuthListener, AuthCredential> -
Current AuthProvider that is being used to authenticate the user.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onBeforeLinkSent(
String email) → void -
Called when the link being is sent to the user's
email
. -
onBeforeProvidersForEmailFetch(
) → void -
Called before an attempt to fetch available providers for the email.
inherited
-
onBeforeSignIn(
) → void -
Called right before the authentication process starts.
inherited
-
onCanceled(
) → void -
Called when the user cancells the sign in process.
inherited
-
onCredentialLinked(
AuthCredential credential) → void -
Called if the credential was successfully linked with the user account.
inherited
-
onCredentialReceived(
AuthCredential credential) → void -
Called before an attempt to link the credential with currently signed in
user account.
inherited
-
onDifferentProvidersFound(
String email, List< String> providers, AuthCredential? credential) → void -
Called when available providers for the email were successfully fetched.
inherited
-
onError(
Object error) → void -
Called if an error occured during the authentication process.
inherited
-
onLinkSent(
String email) → void -
Called when the link was sucessfully sent to the
email
. -
onMFARequired(
MultiFactorResolver resolver) → void -
Called when the user has to complete MFA.
inherited
-
onSignedIn(
UserCredential credential) → void -
Called if the user has successfully signed in.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited