Package-level declarations

Types

Link copied to clipboard
class DigestAuthProvider(realm: String, passwordLookup: (String) -> String?, qop: List<Qop>, algorithm: String, nonceGenerator: NonceGenerator, nonceVerifier: NonceVerifier = { true }, digestMode: DigestMode = DigestMode.Standard)
Link copied to clipboard
class DigestAuthReceiver(nonceGenerator: NonceGenerator, digestMode: DigestMode)

For use in clients. Generates responses to Digest Auth challenges

Link copied to clipboard
data class DigestChallenge(val realm: String, val nonce: Nonce, val algorithm: String?, val qop: List<Qop>, val opaque: String?)

The Digest Authorization challenge to be returned to the user as a header

Link copied to clipboard
data class DigestCredential(val realm: String, val username: String, val digestUri: String, val nonce: Nonce, val response: String, val opaque: String?, val nonceCount: Long?, val algorithm: String?, val cnonce: Nonce?, val qop: Qop?)

The digest Authorization to pass to the server as a header

Link copied to clipboard
class DigestEncoder(digester: MessageDigest, charset: Charset = ISO_8859_1)
Link copied to clipboard

For use in servers. Verifies digest credentials and generates challenge responses

Link copied to clipboard
data class ParameterizedHeader(val prefix: String, val parameters: Map<String, String?>)
Link copied to clipboard
enum Qop : Enum<Qop>

Quality-of-Protection describes the security level of the Authorization challenge