UserRepository
interface UserRepository
An interface representing a user repository, which provides methods to interact with user data and authentication.
Functions
Link copied to clipboard
abstract suspend fun changeUserPassword(currentPassword: String, newPassword: String): Either<AppError, Unit>
Changes the current user password currentPassword with a new one newPassword.
Link copied to clipboard
Deletes the currently logged in user
Link copied to clipboard
Logs in the user with the given credentials UserCredentials.