Package flumotion :: Package twisted :: Module checkers :: Class FlexibleCredentialsChecker
[hide private]

Class FlexibleCredentialsChecker

source code

twisted.cred.checkers.InMemoryUsernamePasswordDatabaseDontUse --+
                                                                |
                                          common.log.Loggable --+
                                                                |
                                                               FlexibleCredentialsChecker

I am an in-memory username/password credentials checker that also allows anonymous logins if instructed to do so.

Instance Methods [hide private]
 
__init__(self, **users) source code
 
allowPasswordless(self, wellDoWeQuestionMark) source code
 
requestAvatarId(self, credentials) source code
 
_requestCallback(self, result, avatarId) source code

Inherited from twisted.cred.checkers.InMemoryUsernamePasswordDatabaseDontUse: __providedBy__, addUser

Inherited from twisted.cred.checkers.InMemoryUsernamePasswordDatabaseDontUse (private): _cbPasswordMatch

Inherited from common.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Class Variables [hide private]
  logCategory = 'credchecker'
Implementors can provide a category to log their messages under.

Inherited from twisted.cred.checkers.InMemoryUsernamePasswordDatabaseDontUse: __implemented__, __provides__, credentialInterfaces

Method Details [hide private]

__init__(self, **users)
(Constructor)

source code 
Overrides: twisted.cred.checkers.InMemoryUsernamePasswordDatabaseDontUse.__init__

requestAvatarId(self, credentials)

source code 
Overrides: twisted.cred.checkers.InMemoryUsernamePasswordDatabaseDontUse.requestAvatarId