class documentation

Undocumented

Method __init__ IUsernameHashedPassword does not have any particular requirement upon its constructor.
Method checkPassword Validate these credentials against the correct password.
Instance Variable hashed Undocumented
Instance Variable username The username associated with these credentials.
def __init__(self, username, hashed): (source)

IUsernameHashedPassword does not have any particular requirement upon its constructor.

def checkPassword(self, password): (source)

Validate these credentials against the correct password.

Parameters
password:bytesThe correct, plaintext password against which to check.
Returns
bool or DeferredTrue 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.

Undocumented

username = (source)

The username associated with these credentials.