Part of vmc.contrib.axiom.userbase View In Hierarchy
Known subclasses: vmc.contrib.axiom.userbase.LoginSystem
Implements interfaces: twisted.cred.checkers.ICredentialsChecker, twisted.cred.portal.IRealm
Method | accountByAddress | |
Method | addAccount | Create a user account, add it to this LoginBase, and return it. |
Method | logoutFactory | Undocumented |
Method | requestAvatar | Undocumented |
Method | requestAvatarId | Undocumented |
Parameters | username | (type: unicode without NUL
) |
domain | (type: unicode without NUL
) |
Create a user account, add it to this LoginBase, and return it.
This method must be called within a transaction in my store.Parameters | username | the user's name. |
domain | the domain part of the user's name [XXX TODO: this really ought to say something about whether it's a Q2Q domain, a SIP domain, an HTTP realm, or an email address domain - right now the assumption is generally that it's an email address domain, but not always] | |
password | A shared secret. | |
avatars | (Optional). A SubStore which, if passed, will be used by cred as the target of all adaptations for this user. By default, I will create a SubStore, and plugins can be installed on that substore using the powerUp method to provide implementations of cred client interfaces. | |
Returns | an instance of a LoginAccount, with all attributes filled out as they are passed in, stored in my store. | |
Raises | DuplicateUniqueItem | if the 'avatars' argument already contains a LoginAccount. |