Companion
object Companion
Functions
Link copied to clipboard
Generates an AuthScheme.Basic challenge as a HttpAuthHeader.
Link copied to clipboard
Generates an AuthScheme.Bearer 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
Generates an AuthScheme.Digest challenge as a HttpAuthHeader.