authenticate

open suspend override fun authenticate(token: String): AuthenticatedUserDto

Authenticates the current user remotely and performs local database operations to store the user and associated planets.

Return

The AuthenticatedUserDto representing the authenticated user.

Parameters

token

The authentication token.