Home | Trees | Index | Help |
|
---|
Package twisted :: Package cred :: Module authorizer :: Class Authorizer |
|
Accessor
--+
|
Authorizer
DatabaseAuthorizer
,
DefaultAuthorizer
,
ReflectorAuthorizer
Method Summary | |
---|---|
__init__(self,
serviceCollection)
| |
Create an identity and make a callback when it has been created. | |
Create an identity of an appropriate type for this Authorizer. | |
get_application(self)
| |
Get an identity request, make the given callback when it's received. | |
getServiceNamed(self,
name)
| |
removeIdentity(self,
identityName)
| |
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 | |
---|---|
_AbstractServiceCollection |
serviceCollection : The set of services that are using this authorizer. |
Class Variable Summary | |
---|---|
identity.Identity |
identityClass = twisted.cred.identity.Identity |
Method Details |
---|
addIdentity(self, identity)Create an identity and make a callback when it has been created.
|
createIdentity(self, name)Create an identity of an appropriate type for this Authorizer. This identity will not be saved! You must call its .save() method before it will be recognized by this authorizer. |
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. |
setApplication(self, app)Set the application for this authorizer. DEPRECATED. |
setServiceCollection(self, collection)Set the service collection for this authorizer. |
Instance Variable Details |
---|
serviceCollectionThe set of services that are using this authorizer. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat May 15 20:08:50 2004 | http://epydoc.sf.net |