class documentation

class twisted.cred.credentials.UsernameHashedPassword: (source)

Implements interfaces: twisted.cred.credentials.IUsernameHashedPassword

View In Hierarchy

Undocumented

Method __init__ Undocumented
Instance Variable username Undocumented
Instance Variable hashed Undocumented
Method checkPassword Validate these credentials against the correct password.
def __init__(self, username, hashed): (source)

Undocumented

hashed = (source)

Undocumented

def checkPassword(self, password): (source)

Validate these credentials against the correct password.

ParameterspasswordThe correct, plaintext password against which to check. (type: bytes)
ReturnsTrue 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)
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.