loginWithEmailAndPassword abstract method
- String email,
- String password,
- BuildContext context, {
- dynamic onMFA(
- dynamic resolver
loginWithEmailAndPassword is used to login a user with email and
password. If the login is successful, the response will contain
a LoginResponse with the user object. If the login is not
successful, the response will contain an Error object with
the error title and message.
Optionally, you can provide an onMFA function to handle
multi-factor authentication.
Implementation
Future<LoginResponse> loginWithEmailAndPassword(
String email,
String password,
BuildContext context, {
// ignore: avoid_annotating_with_dynamic
Function(dynamic resolver)? onMFA,
});