Home | Trees | Index | Help |
---|
Package twisted :: Package popsicle :: Module mailsicle :: Class MailsicleAuthorizer |
|
Accessor
--+ |Authorizer
--+ | MailsicleAuthorizer
A twisted.cred authorizer that's persistent in a Mailsicle database.
NOTE: only one MailsicleAuthorizer may be present in a given Mailsicle database.Method Summary | |
---|---|
__init__(self,
msicle,
serviceCollection)
| |
__delattr__(self,
k)
(inherited from Accessor )
| |
__getattr__(self,
k)
(inherited from Accessor )
| |
__setattr__(self,
k,
v)
(inherited from Accessor )
| |
Create an identity and make a callback when it has been created. | |
Create an identity of an appropriate type for this Authorizer. (inherited from Authorizer )
| |
get_application(self)
(inherited from Authorizer )
| |
Get an identity request, make the given callback when it's received. | |
getServiceNamed(self,
name)
(inherited from Authorizer )
| |
*actually* del self.k without incurring side-effects. (inherited from Accessor )
| |
*actually* set self.k to v without incurring side-effects. (inherited from Accessor )
| |
removeIdentity(self,
identityName)
(inherited from Authorizer )
| |
Set the application for this authorizer. (inherited from Authorizer )
| |
Set the service collection for this authorizer. (inherited from Authorizer )
|
Method Details |
---|
addIdentity(self, identity)Create an identity and make a callback when it has been created.
|
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.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.1 on Fri Jun 27 03:45:39 2003 | http://epydoc.sf.net |