Class v.c.a.u.LoginBase:

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

I am a database powerup which provides an interface to a collection of username/password pairs mapped to user application objects.
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
def accountByAddress(self, username, domain):
Parametersusername (type: unicode without NUL )
domain (type: unicode without NUL )
def addAccount(self, username, domain, password, avatars=None, protocol=u'email', disabled=0, internal=False, verified=True):

Create a user account, add it to this LoginBase, and return it.

This method must be called within a transaction in my store.
Parametersusernamethe user's name.
domainthe 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]
passwordA 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.
Returnsan instance of a LoginAccount, with all attributes filled out as they are passed in, stored in my store.
RaisesDuplicateUniqueItemif the 'avatars' argument already contains a LoginAccount.
def logoutFactory(self, obj):
Undocumented
def requestAvatar(self, avatarId, mind, *interfaces):
Undocumented
def requestAvatarId(self, credentials):
Undocumented
API Documentation for vodafone-mobile-connect-card-driver-for-linux, generated by pydoctor at 2008-01-10 13:06:31.