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)
| |
Create an identity and make a callback when it has been created. | |
Get an identity request, make the given callback when it's received. | |
Inherited from Authorizer | |
Create an identity of an appropriate type for this Authorizer. | |
| |
| |
| |
Set the application for this authorizer. | |
Set the service collection for this authorizer. | |
Inherited from Accessor | |
| |
| |
| |
*actually* del self.k without incurring side-effects. | |
*actually* set self.k to v without incurring side-effects. |
Instance Variable Summary | |
---|---|
Inherited from Authorizer | |
_AbstractServiceCollection |
serviceCollection : The set of services that are using this 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 2.0 on Sat Sep 13 04:20:41 2003 | http://epydoc.sf.net |