DigestAuthProvider

class DigestAuthProvider(realm: String, passwordLookup: (String) -> String?, qop: List<Qop>, algorithm: DigestAlgorithm, nonceGenerator: NonceGenerator, nonceVerifier: NonceVerifier, digestMode: DigestMode = Standard)(source)

Constructors

Link copied to clipboard
constructor(realm: String, passwordLookup: (String) -> String?, qop: List<Qop>, algorithm: DigestAlgorithm, nonceGenerator: NonceGenerator, nonceVerifier: NonceVerifier, digestMode: DigestMode = Standard)

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun verify(credentials: DigestCredential, request: Request): Boolean

Note: when the credentials carry Qop.AuthInt, the request entity body is read fully into memory to verify the digest