|
|
|
getRegInfo(disp,
host,
info={ } ,
sync=True)
Get registration form from remote host. Info dict can be prefilled
:param disp: plugged dispatcher instance
:param info: dict, like {'username':'joey'}. |
source code
|
|
|
|
|
register(disp,
host,
info,
cb,
args=None)
Perform registration on remote server with provided info |
source code
|
|
|
unregister(disp,
host,
cb)
Unregisters with host (permanently removes account). Returns true on success |
source code
|
|
|
changePasswordTo(disp,
newpassword,
host=None,
cb=None)
Changes password on specified or current (if not specified) server. Returns
true on success. |
source code
|
|
|
|
|
|
|
getPrivacyList(disp,
listname)
Request specific privacy list listname. Returns list of XML nodes (rules)
taken from the server responce. |
source code
|
|
|
setActivePrivacyList(disp,
listname=None,
typ=' active ' ,
cb=None)
Switch privacy list 'listname' to specified type. By default the type is
'active'. Returns true on success. |
source code
|
|
|
|
|
|
|
|