Package-level declarations
Types
Link copied to clipboard
data class GetTokenOptions(val template: String? = null, val skipCache: Boolean = false, val expirationBuffer: Long = 10)
Options for configuring session token retrieval behavior.
Link copied to clipboard
@Serializable
The Session object is an abstraction over an HTTP session. It models the period of information exchange between a user and the server.
Link copied to clipboard
@Serializable
A SessionActivity
object will provide information about the user's location, device and browser.
Properties
Functions
Link copied to clipboard
Deletes the current session.
Link copied to clipboard
suspend fun Session.fetchToken(options: GetTokenOptions = GetTokenOptions()): ClerkResult<TokenResource, ClerkErrorResponse>
Fetches a fresh JWT for the session.
Link copied to clipboard
Revokes the current session.