verifier

suspend fun DigestCredential.verifier(method: HttpMethod, userNameRealmPasswordDigest: suspend (String, String) -> ByteArray?): Boolean(source)

Verifies that credentials are valid for a given method, and userNameRealmPasswordDigest. The algorithm from DigestCredential.algorithm is used to compute the HA1 value.

Report a problem


suspend fun DigestCredential.verifier(method: HttpMethod, digester: MessageDigest, userNameRealmPasswordDigest: suspend (String, String) -> ByteArray?): Boolean(source)

Deprecated

Use [DigestCredential.verifier] without digester.

Verifies that credentials are valid for a given method, digester, and userNameRealmPasswordDigest.

This is the legacy verifier that does not support session algorithms or auth-int.

Report a problem