FireAuthProvider class
This ChangeNotifier exposes the entire Authentication System
- Inheritance
-
- Object
- ChangeNotifier
- FireAuthProvider
Constructors
Properties
- authInstance → FirebaseAuth
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasListeners → bool
-
Whether any listeners are currently registered.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
inherited
-
logout(
{Function? onLogout}) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
Call all the registered listeners.
inherited
-
registerWithEmailAndPassword(
{required String email, required String password, dynamic onError(String)?, dynamic onRegisterSuccessful(User?)?}) → Future< User?> -
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
signInAnonymously(
{dynamic onSignInSuccessful(User?)?, dynamic onError(String)?}) → Future< User?> -
signInWithApple(
{dynamic onError(String)?, dynamic onSignInSuccessful(User)?}) → Future< User?> -
signInWithEmailAndPassword(
{required String email, required String password, Function? onIncorrectCredentials, dynamic onError(String)?, dynamic onSignInSuccessful(User?)?}) → Future< User?> -
signInWithFacebook(
{dynamic onError(String)?, dynamic onSignInSuccessful(User)?}) → Future< User?> -
signInWithGithub(
{dynamic onError(String)?, dynamic onSignInSuccessful(User)?}) → Future< User?> -
signInWithGoogle(
{bool allowSignInWithRedirect = false, dynamic onError(String)?, dynamic onSignInSuccessful(User)?}) → Future< User?> -
signInWithMicrosoft(
{dynamic onError(String)?, dynamic onSignInSuccessful(User)?}) → Future< User?> -
signInWithPhoneNumber(
{BuildContext? context, String? phoneNumber, Function? onInvalidVerificationCode, dynamic onError(String)?, dynamic onSignInSuccessful(User?)?, bool? closeVerificationPopupAfterSubmit, bool enableDebugLog = true, bool showInitiationToast = true}) → Future< User?> -
signInWithTwitter(
{dynamic onError(String)?, dynamic onSignInSuccessful(User)?}) → Future< User?> -
signInWithYahoo(
{dynamic onError(String)?, dynamic onSignInSuccessful(User)?}) → Future< User?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited