basicAuthChallenge

fun basicAuthChallenge(
    realm: String,
    charset: Charset?
): Parameterized

Generates an AuthScheme.Basic challenge as a HttpAuthHeader.