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

Class UsernameSha256PasswordCryptChallenger

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 IUsernameSha256Password.

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
 
checkSha256Password(self, sha256Password)
Check credentials against the given sha256Password.
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.UsernameSha256PasswordCry\
ptChallenger>