t.s.p._PortalAuthChallenger(Referenceable, _JellyableAvatarMixin) : class documentation

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

Implements interfaces: twisted.cred.credentials.IUsernameHashedPassword, twisted.spread.pb.IUsernameMD5Password

Called with response to password challenge.
Method __init__ Undocumented
Method remote_respond Undocumented
Method checkPassword Validate these credentials against the correct password.
Method checkMD5Password Validate these credentials against the correct MD5 digest of the password.

Inherited from _JellyableAvatarMixin:

Method _cbLogin Ensure that the avatar to be returned to the client is jellyable and set up disconnection notification to call the realm's logout object.
def __init__(self, portal, broker, username, challenge): (source)
Undocumented
def remote_respond(self, response, mind): (source)
Undocumented
def checkPassword(self, password): (source)
Validate these credentials against the correct password.
ParameterspasswordThe correct, plaintext password against which to check. (type: str)
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)
def checkMD5Password(self, md5Password): (source)
Validate these credentials against the correct MD5 digest of the password.
ParameterspasswordThe correct MD5 digest of a password against which to check. (type: str)
ReturnsTrue if the credentials represented by this object match the given digest, 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 at 2012-09-01 11:44:56.