t.w.i.IUsernameDigestHash(ICredentials) : interface documentation

Part of twisted.web.iweb View Source View In Hierarchy

Known implementations: twisted.cred.credentials.DigestedCredentials

This credential is used when a CredentialChecker has access to the hash of the username:realm:password as in an Apache .htdigest file.
Method checkHash
def checkHash(digestHash): (source)
ParametersdigestHashThe hashed username:realm:password to check against.
ReturnsTrue if the credentials represented by this object match the given hash, False if they do not, or a Deferred which will be called back with one of these values.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.