AuthListener class abstract
An interface that describes authentication process lifecycle.
See implementers:
Constructors
Properties
- auth → FirebaseAuth
-
The
FirebaseAuth
instance used to perform authentication against. By default,FirebaseAuth.instance
is used.no setter - 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 setter
- 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
-
onBeforeProvidersForEmailFetch(
) → void - Called before an attempt to fetch available providers for the email.
-
onBeforeSignIn(
) → void - Called right before the authentication process starts.
-
onCanceled(
) → void - Called when the user cancells the sign in process.
-
onCredentialLinked(
AuthCredential credential) → void - Called if the credential was successfully linked with the user account.
-
onCredentialReceived(
AuthCredential credential) → void - Called before an attempt to link the credential with currently signed in user account.
-
onDifferentProvidersFound(
String email, List< String> providers, AuthCredential? credential) → void - Called when available providers for the email were successfully fetched.
-
onError(
Object error) → void - Called if an error occured during the authentication process.
-
onMFARequired(
MultiFactorResolver resolver) → void - Called when the user has to complete MFA.
-
onSignedIn(
UserCredential credential) → void - Called if the user has successfully signed in.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited