Package twisted :: Package test :: Module test_conch :: Class ConchTestAuthorizer
[show private | hide private]
[frames | no frames]

Class ConchTestAuthorizer

OriginalAccessor --+    
                   |    
          Authorizer --+
                       |
                      ConchTestAuthorizer


Method Summary
  __init__(self, serviceCollection)
(inherited from Authorizer)
  __delattr__(self, k)
(inherited from OriginalAccessor)
  __getattr__(self, k)
(inherited from OriginalAccessor)
  __setattr__(self, k, v)
(inherited from OriginalAccessor)
  addIdentity(self, ident)
  createIdentity(self, name)
Create an identity of an appropriate type for this Authorizer. (inherited from Authorizer)
  get_application(self)
(inherited from Authorizer)
  getIdentityRequest(self, name)
Get an identity request, make the given callback when it's received.
  getServiceNamed(self, name)
(inherited from Authorizer)
  reallyDel(self, k)
*actually* del self.k without incurring side-effects. (inherited from OriginalAccessor)
  reallySet(self, k, v)
*actually* set self.k to v without incurring side-effects. (inherited from OriginalAccessor)
  removeIdentity(self, identityName)
(inherited from Authorizer)
  setApplication(self, app)
Set the application for this authorizer. (inherited from Authorizer)
  setServiceCollection(self, collection)
Set the service collection for this authorizer. (inherited from Authorizer)

Method Details

getIdentityRequest(self, name)

Get an identity request, make the given callback when it's received.

Override this to provide a method for retrieving identities than the hash provided by default. The method should return a Deferred.

Note that this is asynchronous specifically to provide support for authenticating users from a database.
Overrides:
twisted.cred.authorizer.Authorizer.getIdentityRequest (inherited documentation)

Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:28:55 2003 http://epydoc.sf.net