UserService provides endpoints for common user management tasks:
- Password Reset
In order to use any of the endpoints in the SDK which require authentication the
login endpoint needs to be called. This will store a users
access_token and add it to every subsequent request automatically within the SDK. Call the
logout endpoint and all these credentials will be cleared from the SDK preventing any further calls to the Karhoo API.
let userService = Karhoo.getUserService()
val userService = KarhooApi.userService