| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
??.GObject --+
|
Option --+
|
AccountOption
An Option-type for username/password combos. Stores the password in the gnome-keyring (if available) and only saves username and auth_token through the screenlets-backend. TODO: - not create new token for any change (use "set" instead of "create" if the given item already exists) - use usual storage if no keyring is available but output warning - on_delete-function for removing the data from keyring when the Screenlet holding the option gets deleted
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
Creates a new Option with the given information.
|
Import account info from a string (like 'username:auth_token'), retrieve the password from the storage and return a tuple containing username and password.
|
Export the given tuple/list containing a username and a password. The function stores the password in the gnomekeyring and returns a string in form 'username:auth_token'.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Feb 28 23:21:23 2011 | http://epydoc.sourceforge.net |