Part of services.auth View Source View In Hierarchy
Implements interfaces: twisted.cred.checkers.ICredentialsChecker
| Method | __init__ | Undocumented | 
| Method | userFactory | Undocumented | 
| Method | addUser | Add the given user to this service. | 
| Method | addGroup | Add the given group to this service. | 
| Method | requestAvatarId | |
| Method | save | Undocumented | 
| Method | load | Undocumented | 
| Method | _checkpw | Undocumented | 
| Method | _hashpw | Undocumented | 
Inherited from InMemoryWordsRealm:
| Method | itergroups | Return all groups available on this service. | 
| Method | lookupUser | Undocumented | 
| Method | lookupGroup | Retrieve a group by name. | 
Inherited from WordsRealm (via InMemoryWordsRealm):
| Method | groupFactory | Undocumented | 
| Method | logoutFactory | Undocumented | 
| Method | requestAvatar | Return avatar which provides one of the given interfaces. | 
| Method | getGroup | Retrieve the group by the given name. | 
| Method | getUser | Retrieve the user by the given name. | 
| Method | createUser | Create a new user with the given name. | 
| Method | createGroup | Create a new group with the given name. | 
This is an internal method intented to be overridden by WordsRealm
subclasses, not called by external code.
| Parameters | user | (type: IUser) | 
| Returns | A Deferred which fires with Nonewhen the user is added, or 
which fails withtwisted.words.ewords.DuplicateUserif a user with the same name exists already.
 (type:twisted.internet.defer.Deferred) | |
| Parameters | group | (type: IGroup) | 
| Returns | A Deferred which fires with Nonewhen the group is added, or 
which fails withtwisted.words.ewords.DuplicateGroupif a group with the same name exists already.
 (type:twisted.internet.defer.Deferred) | |
| 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. | |
| See Also | twisted.cred.credentials | |