A mixin providing functions for logging in and out users.
The functions are used in the AuthService class. You can call functions from this mixin as follows:
ref.read(authServiceProvider).signIn(email, password);
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- instance ↔ FirebaseAuth
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkApproved(
User user) → Future< AuthResultStatus> - Checks if a user has been approved
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signIn(
{required String email, required String password}) → Future< AuthResultStatus> - Sign in a user given an email and a password
-
signOut(
) → Future< void> - Sign out the user
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited