AuthenticationService class
Service to handle authentication
Constructors
- AuthenticationService.new({required ApiClient apiClient, FirebaseCrashlytics? crashlytics})
- Constructor for the AuthenticationService
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
changePassword(
PasswordRequestModel passwordRequestModel) → Future< ChangePasswordResponse> - Attempts to change the password of a user.
-
changePasswordMobile(
PasswordRequestModel passwordRequestModel) → Future< ChangePasswordResponse> - Attempts to change the password of a user.
-
forgotPassword(
String email) → Future< void> - Send a request for forgot password
-
loginWithEmailAndPassword(
String email, String password) → Future< User> - Attempts to log in a user using their email and password.
-
loginWithEmailAndPasswordV2(
String email, String password) → Future< LoginResponse> - Attempts to log in a user using their email and password.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resetPassword(
PasswordRequestModel passwordRequestModel) → Future< void> - Send a request to reset the password
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited