ktor-client-auth / io.ktor.client.features.auth.providers / BasicAuthProvider / <init>

<init>

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

Client basic authentication provider.