BearerAuthTokens

data class BearerAuthTokens(accessToken: String, refreshToken: String?)

Bearer auth tokens, similar to BearerTokens except the refresh token is optional.

Constructors

Link copied to clipboard
fun BearerAuthTokens(accessToken: String, refreshToken: String?)

Functions

Link copied to clipboard
fun accessTokens(): BearerTokens

Get the Ktor access tokens, returning an empty refresh token if refreshToken is null.

Link copied to clipboard
fun refreshTokens(): BearerTokens?

Get the Ktor refresh tokens, returning null if refreshToken is null.

Properties

Link copied to clipboard
val accessToken: String
Link copied to clipboard
val refreshToken: String?

Sources

Link copied to clipboard