Package twisted :: Package cred :: Module checkers :: Class InMemoryUsernamePasswordDatabaseDontUse
[show private | hide private]
[frames | no frames]

Class InMemoryUsernamePasswordDatabaseDontUse

Known Subclasses:
FlexibleCredentialsChecker

An extremely simple credentials checker.

This is only of use in one-off test programs or examples which don't want to focus too much on how credentials are verified.

You really don't want to use this for anything else. It is, at best, a toy. If you need a simple credentials checker for a real application, see FilePasswordDB.
Method Summary
  __init__(self, **users)
  addUser(self, username, password)
  requestAvatarId(self, credentials)

Class Variable Summary
Implements __implemented__ = <implementedBy twisted.cred.checkers.I...
_implementsTuple __implements__ = (<MetaInterface twisted.cred.checkers.I...
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
tuple credentialInterfaces = (<MetaInterface twisted.cred.cred...

Class Variable Details

__implemented__

Type:
Implements
Value:
<implementedBy twisted.cred.checkers.InMemoryUsernamePasswordDatabaseD\
ontUse>                                                                

__implements__

Type:
_implementsTuple
Value:
(<MetaInterface twisted.cred.checkers.ICredentialsChecker>,)           

__providedBy__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0xb738e1cc>       

__provides__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0xb738e1cc>       

credentialInterfaces

Type:
tuple
Value:
(<MetaInterface twisted.cred.credentials.IUsernamePassword>,
 <MetaInterface twisted.cred.credentials.IUsernameHashedPassword>)     

Generated by Epydoc 2.1 on Tue Aug 2 15:16:42 2005 http://epydoc.sf.net