wsgidav.http_authenticator.HTTPAuthenticator.compute_digest_response

HTTPAuthenticator.compute_digest_response(realm, user_name, method, uri, nonce, cnonce, qop, nc, environ)[source]

Computes digest hash.

Calculation of the A1 (HA1) part is delegated to the dc interface method digest_auth_user().

Parameters:
  • realm (str) –
  • user_name (str) –
  • method (str) – WebDAV Request Method
  • uri (str) –
  • nonce (str) – server generated nonce value
  • cnonce (str) – client generated cnonce value
  • qop (str) – quality of protection
  • nc (str) (number) –
Returns:

MD5 hash string or False if user rejected by domain controller