Package-level declarations

Types

Link copied to clipboard

Configuration used by Auth plugin.

Link copied to clipboard
interface AuthProvider

An authentication provider.

Properties

Link copied to clipboard

A client's plugin that handles authentication and authorization. Typical usage scenarios include logging in users and gaining access to specific resources.

Link copied to clipboard

Shows that request should skip auth and refresh token procedure.

Link copied to clipboard

Returns all auth providers configured for this client.

Functions

Link copied to clipboard
fun HttpClientConfig<*>.Auth(block: AuthConfig.() -> Unit)

Install Auth plugin.

Link copied to clipboard

Returns a single auth provider of the specified type, or null if not found or multiple providers exist.

Link copied to clipboard

Clears cached tokens/credentials from all auth providers that support token clearing.