BasicAuthProvider

constructor(credentials: suspend () -> BasicAuthCredentials?, realm: String? = null, sendWithoutRequestCallback: (HttpRequestBuilder) -> Boolean = { false })


constructor(username: String, password: String, realm: String? = null, sendWithoutRequest: Boolean = false)

Deprecated (with error)

Consider using constructor with credentials provider instead