ktor-client-auth / io.ktor.client.features.auth.providers / BearerAuthConfig

BearerAuthConfig

class BearerAuthConfig

BearerAuthProvider configuration.

Constructors

<init>

BearerAuthConfig()

BearerAuthProvider configuration.

Properties

realm

var realm: String?

Functions

loadTokens

fun loadTokens(block: suspend () -> BearerTokens?): Unit

refreshTokens

fun refreshTokens(block: suspend (call: HttpClientCall) -> BearerTokens?): Unit