login method
Logs in the user and returns a new session.
In case an expected error occurs, this throws an
EmailAccountLoginException. If the user registered via a different
identity provider, throws EmailMethodBlockedException.
Implementation
@override
_i2.Future<_i10.AuthSuccess> login({
required String email,
required String password,
}) => caller.callServerEndpoint<_i10.AuthSuccess>('emailIdp', 'login', {
'email': email,
'password': password,
});