AuthConfig

Configuration used by Auth plugin.

Report a problem

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The currently set function to control whether a response is unauthorized and should trigger a refresh / re-auth.

Link copied to clipboard

Functions

Link copied to clipboard

Installs the client's BasicAuthProvider.

Link copied to clipboard

Installs the client's BearerAuthProvider.

Link copied to clipboard

Installs the client's DigestAuthProvider.

Link copied to clipboard
fun reAuthorizeOnResponse(block: suspend (HttpResponse) -> Boolean)

Sets a custom function to control whether a response is unauthorized and should trigger a refresh / re-auth.