BasicAuthConfig

A configuration for BasicAuthProvider.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
lateinit var password: String

Required: The password of the basic auth.

Link copied to clipboard

(Optional) Specifies the realm of the current provider.

Link copied to clipboard

Send credentials in without waiting for HttpStatusCode.Unauthorized.

Link copied to clipboard
lateinit var username: String

Required: The username of the basic auth.

Functions

Link copied to clipboard
fun credentials(block: suspend () -> BasicAuthCredentials?)

Allows you to specify authentication credentials.

Link copied to clipboard

Sends credentials without waiting for HttpStatusCode.Unauthorized.