Companion
Functions
Link copied to clipboard
fun basicAuthChallenge(realm: String, charset: Charset?): HttpAuthHeader.Parameterized
Content copied to clipboard
Generates an AuthScheme.Basic challenge as a HttpAuthHeader.
Link copied to clipboard
fun digestAuthChallenge(realm: String, nonce: String = generateNonce(), domain: List<String> = emptyList(), opaque: String? = null, stale: Boolean? = null, algorithm: String = "MD5"): HttpAuthHeader.Parameterized
Content copied to clipboard
Generates an AuthScheme.Digest challenge as a HttpAuthHeader.