Package flumotion :: Package common :: Module keycards :: Class KeycardUASPCC
[hide private]

Class KeycardUASPCC

source code

               twisted.spread.jelly.Jellyable --+            
                                                |            
              twisted.spread.flavors.Serializable --+        
                                                    |        
                      twisted.spread.flavors.Copyable --+    
                                                        |    
                 twisted.spread.jelly.Unjellyable --+   |    
                                                    |   |    
                    twisted.spread.flavors.RemoteCopy --+    
                                                        |    
                                                  Keycard --+
                                                            |
twisted.credentials.UsernameSha256PasswordCryptChallenger --+
                                                            |
                                                           KeycardUASPCC

I am a keycard with a username and IP address. I get authenticated through challenge/response on a SHA-256 password.

Instance Methods [hide private]
 
__init__(self, username, address) source code
 
getData(self)
Return a dictionary of the viewable data on the keycard that can be used to identify the keycard.
source code
 
__repr__(self) source code

Inherited from Keycard: setDomain

Inherited from twisted.spread.flavors.Copyable: getStateToCopy, getStateToCopyFor, getTypeToCopy, getTypeToCopyFor, jellyFor

Inherited from twisted.spread.flavors.Serializable: processUniqueID

Inherited from twisted.spread.jelly.Jellyable: __providedBy__, getStateFor

Inherited from twisted.spread.flavors.RemoteCopy: setCopyableState, unjellyFor

Inherited from twisted.spread.jelly.Unjellyable: setStateFor

Inherited from twisted.credentials.UsernameSha256PasswordCryptChallenger: checkSha256Password, setPassword

Class Variables [hide private]

Inherited from Keycard: __implemented__, __provides__

Instance Variables [hide private]

Inherited from Keycard: avatarId, bouncerName, domain, duration, id, requesterId, state

Method Details [hide private]

__init__(self, username, address)
(Constructor)

source code 
Overrides: twisted.credentials.UsernameSha256PasswordCryptChallenger.__init__

getData(self)

source code 

Return a dictionary of the viewable data on the keycard that can be used to identify the keycard. It doesn't include sensitive information though.

Subclasses should override to add additional information.

Overrides: Keycard.getData
(inherited documentation)

__repr__(self)
(Representation operator)

source code 
Overrides: Keycard.__repr__