BearerAuthConfig

class BearerAuthConfig

BearerAuthProvider configuration.

Constructors

Link copied to clipboard
fun BearerAuthConfig()

Functions

Link copied to clipboard
fun loadTokens(block: suspend () -> BearerTokens?)
Link copied to clipboard
fun refreshTokens(block: suspend (response: HttpResponse) -> BearerTokens?)
Link copied to clipboard
fun sendWithoutRequest(block: (HttpRequestBuilder) -> Boolean)

Send credentials in without waiting for HttpStatusCode.Unauthorized.

Properties

Link copied to clipboard
var realm: String? = null