GetTokenOptions

data class GetTokenOptions(val template: String? = null, val skipCache: Boolean = false, val expirationBuffer: Long = 10)

Options for configuring session token retrieval behavior.

This data class allows customization of how tokens are fetched, including template usage, cache behavior, and expiration buffer settings.

Constructors

Link copied to clipboard
constructor(template: String? = null, skipCache: Boolean = false, expirationBuffer: Long = 10)

Properties

Link copied to clipboard

Buffer time in seconds before token expiration to consider it invalid

Link copied to clipboard
val skipCache: Boolean = false

Whether to bypass the token cache and always fetch from network

Link copied to clipboard
val template: String? = null

Optional template name for custom token generation