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

Type ICredentialsChecker

object --+    
         |    
 Interface --+
             |
            ICredentialsChecker


I check sub-interfaces of ICredentials.
Method Summary
  requestAvatarId(self, credentials)
Return a Deferred which will fire a string which identifies an avatar, an empty tuple to specify an authenticated anonymous user (provided as checkers.ANONYMOUS) or fire a Failure(UnauthorizedLogin).
    Inherited from Interface
  adaptWith(self, using, to, registry)
(Class method)
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
  credentialInterfaces: A list of sub-interfaces of ICredentials which specifies which I may check.

Instance Method Details

requestAvatarId(self, credentials)

Parameters:
credentials - something which implements one of the interfaces in self.credentialInterfaces.
Returns:
a Deferred which will fire a string which identifies an avatar, an empty tuple to specify an authenticated anonymous user (provided as checkers.ANONYMOUS) or fire a Failure(UnauthorizedLogin). Alternatively, return the result itself.

Class Variable Details

credentialInterfaces

A list of sub-interfaces of ICredentials which specifies which I may check.

Generated by Epydoc 2.1 on Wed Feb 16 07:22:59 2005 http://epydoc.sf.net