interface documentation

class ISimpleAccount(Interface): (source)

View In Hierarchy

Data-store agnostic account interface.

Method bindSession Bind the given session to this account; i.e. authorize the given session to act on behalf of this account.
Method changePassword Change the password of this account.
Attribute accountID Unicode account-ID.
Attribute username Unicode username.
def bindSession(session): (source)

Bind the given session to this account; i.e. authorize the given session to act on behalf of this account.

Parameters
session:ISessionUndocumented
def changePassword(newPassword): (source)

Change the password of this account.

Parameters
newPassword:strUndocumented
accountID = (source)

Unicode account-ID.

username = (source)

Unicode username.