login

suspend fun login(email: String, password: String): Result<UserResource, Exception>

Login a user.

Parameters

email

The email of the user.

password

The password of the user.