Sessions
Sessions interface that encompasses authentication functions as well as other related functionality
Types
Functions
Link copied to clipboard
abstract suspend fun authenticate(authParams: Sessions.AuthParams): AuthResponse
Content copied to clipboard
abstract fun authenticate(authParams: Sessions.AuthParams, callback: (AuthResponse) -> Unit)
Content copied to clipboard
Wraps the sessions authenticate API endpoint which creates a session using the provided duration
Link copied to clipboard
Wraps the sessions revoke API endpoint which revokes a session
Link copied to clipboard
Updates the current session with a sessionToken and/or sessionJwt