Part of twisted.web2.auth View Source
Implementation of RFC2617: HTTP Digest Authentication
http://www.faqs.org/rfcs/rfc2617.htmlFunction | calcHA1 | |
Function | calcResponse | Undocumented |
Interface | IUsernameDigestHash | This credential is used when a CredentialChecker has access to the hash of the username:realm:password as in an Apache .htdigest file. |
Class | DigestedCredentials | Yet Another Simple HTTP Digest authentication scheme |
Class | DigestCredentialFactory | Support for RFC2617 HTTP Digest Authentication |
Parameters | pszAlg | The name of the algorithm to use to calculate the digest. Currently supported are md5 md5-sess and sha. |
pszUserName | The username | |
pszRealm | The realm | |
pszPassword | The password | |
pszNonce | The nonce | |
pszCNonce | The cnonce | |
preHA1 | If available this is a str containing a previously calculated HA1 as a hex string. If this is given then the values for pszUserName, pszRealm, and pszPassword are ignored. |