BasicAuthProvider

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


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

Deprecated (with error)

Consider using constructor with credentials provider instead