Class: Login
Defined in: | web-src/coffee/login.coffee |
Overview
Login representation.
Instance Method Summary
- # (void) set_json(jsonstr)
- # (void) logged()
- # (void) do_login(pass) Do the login steps connecting to the server and verifying the username and password.
- # (void) do_logout() Clear the login and reset the interface.
- # (void) save_model(jsonstr, modelname) Save the JSON model with the provided name.
- # (void) load_model(modelname) Retrieve the model from the server and import it.
Constructor Details
#
(void)
constructor(username, loginconn = null)
@param loginrequests a LoginRequests instance.
Instance Method Details
#
(void)
set_json(jsonstr)
#
(void)
logged()
#
(void)
do_login(pass)
Do the login steps connecting to the server and verifying the username and password.
#
(void)
do_logout()
Clear the login and reset the interface. Send information to the server.
#
(void)
save_model(jsonstr, modelname)
Save the JSON model with the provided name.
#
(void)
load_model(modelname)
Retrieve the model from the server and import it.