class documentation

class Account:

Constructor: Account()

View In Hierarchy

Undocumented

Method __call__ Called by cherrypy for the URL mount point an instance is exposed at.
Method __init__ Initialise Account.
Method login Undocumented
Method logout Undocumented
Method new Undocumented
Instance Variable exposed Undocumented
Instance Variable sqlite_connection Undocumented
Method _account_exists Undocumented
Method _get_name_from_session Undocumented
Method _hash_email_address Undocumented
Method _obfuscate_email_address Undocumented
Method _send_email Undocumented
Method _shutdown Shut down the addon.
Method _update_login_code Update an login code and its timestamp in the database, and return the login code.
Instance Variable _from_address Undocumented
def __call__(self):

Called by cherrypy for the URL mount point an instance is exposed at.

def __init__(self):

Initialise Account.

@cherrypy.expose
def login(self, email_address=None, login_code=None):

Undocumented

@cherrypy.expose
def logout(self, logout=None):

Undocumented

@cherrypy.expose
def new(self, email_address=None, name=None):

Undocumented

exposed: bool =

Undocumented

sqlite_connection =

Undocumented

def _account_exists(self, email_address_hashed):

Undocumented

def _get_name_from_session(self):

Undocumented

def _hash_email_address(self, email_address):

Undocumented

def _obfuscate_email_address(self, email_address):

Undocumented

def _send_email(self, email_address, subject, content):

Undocumented

def _shutdown(self):

Shut down the addon.

def _update_login_code(self, email_address_hashed):

Update an login code and its timestamp in the database, and return the login code.

_from_address =

Undocumented