AuthService provides endpoints for swapping your users JWT access token for a Karhoo UserInfo object. The user returned from the AuthService login endpoint is your user that was represented with the access token you passed in. The AuthService contains the following functions:
To obtain the profile of the current user at any given point regardless of the authentication method you've configured, you can utilise the
UserService to get the current authenticated user, if any.
let userService = Karhoo.getAuthService()
val userService = KarhooApi.authService