authenticateUser static method
Authenticate a user with email and password.
- Parameters:
email
: The email.password
: The password.manager
: An optionalMBManager
used to make calls instead ofMBManager.shared
.
- Returns a Future that completes when the user is authenticated correctly.
Implementation
static Future<void> authenticateUser(
String email,
String password, {
MBManager? manager,
}) {
return _authenticateUserWithParameters(
{
'mode': 'email',
'email': email,
'password': password,
},
manager: manager,
);
}