BasicAuthProvider

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


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

Deprecated

Consider using constructor with credentials provider instead