Part of twisted.web2.auth.digest View Source View In Hierarchy
Implements interfaces: twisted.cred.credentials.IUsernameHashedPassword, twisted.web2.auth.digest.IUsernameDigestHash
Method | __init__ | Undocumented |
Method | checkPassword | Validate these credentials against the correct password. |
Method | checkHash |
Parameters | password | The correct, plaintext password against which to check.
(type: str
) |
Returns | True if the credentials represented by this object match
the given password, False if they do not, or a
Deferred which will be called back with one of these
values.
(type: bool or Deferred
) |
Parameters | digestHash | The hashed username:realm:password to check against. |
Returns | a deferred which becomes, or a boolean indicating if the hash matches. |