login

Performs a login using the given Credentials. Must validate that the User exists and that the credentials are valid.

Return

The Result of the operation.

Parameters

credentials
The Credentials of the User.
open suspend override fun login(credentials: Credentials): Result<Token>