authenticate method
Authenticates a user with email and password. Returns an AuthenticationResponse with the users information.
Implementation
_i2.Future<_i4.AuthenticationResponse> authenticate(
String email,
String password,
) =>
caller.callServerEndpoint<_i4.AuthenticationResponse>(
'serverpod_auth.email',
'authenticate',
{
'email': email,
'password': password,
},
);