Package flumotion :: Package twisted :: Module credentials :: Class UsernameCryptPasswordCryptChallenger
[hide private]

Class UsernameCryptPasswordCryptChallenger

source code

Known Subclasses:

I take a username.

Authenticator will give me a salt and challenge me. Requester will respond to the challenge. At that point I'm ready to be used by a checker. The response function used is flumotion.twisted.credentials.cryptRespond()

I implement IUsernameCryptPassword.

Instance Methods [hide private]
 
__init__(self, username) source code
 
setPassword(self, password)
I encode a given plaintext password using the salt, and respond to the challenge.
source code
 
checkCryptPassword(self, cryptPassword)
Check credentials against the given cryptPassword.
source code
 
__providedBy__(...)
Object Specification Descriptor
source code
 
__provides__(...)
Special descriptor for class __provides__
Class Variables [hide private]
  __implemented__ = <implementedBy flumotion.twisted.credentials...
Method Details [hide private]

__provides__(...)

 
Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that
we can get declarations for objects without instance-specific
interfaces a bit quicker.


Class Variable Details [hide private]

__implemented__

Value:
<implementedBy flumotion.twisted.credentials.UsernameCryptPasswordCryp\
tChallenger>