authenticate

abstract suspend fun authenticate(token: String): UserDto

Authenticates the user based on the provided token.

Return

The user information upon successful authentication.

Parameters

token

The authentication token.