t.s.p.IUsernameMD5Password(ICredentials) : interface documentation

Part of twisted.spread.pb View Source View In Hierarchy

Known implementations: twisted.spread.pb._PortalAuthChallenger

I encapsulate a username and a hashed password.

This credential is used for username/password over PB. CredentialCheckers which check this kind of credential must store the passwords in plaintext form or as a MD5 digest.
Instance VariablesusernameThe username associated with these credentials. (type: str or Deferred )
Method checkPassword Validate these credentials against the correct password.
Method checkMD5Password Validate these credentials against the correct MD5 digest of password.
def checkPassword(password): (source)
Validate these credentials against the correct password.
ParameterspasswordThe correct, plaintext password against which to check.
Returnsa deferred which becomes, or a boolean indicating if the password matches.
def checkMD5Password(password): (source)
Validate these credentials against the correct MD5 digest of password.
ParameterspasswordThe correct, plaintext password against which to check.
Returnsa deferred which becomes, or a boolean indicating if the password matches.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 15:57:47.