Class: Login

Defined in: web-src/coffee/login.coffee

Overview

Login representation.

Instance Method Summary

Constructor Details

# (void) constructor(username, loginconn = null)

@param loginrequests a LoginRequests instance.

Parameters:

  • json ( string )

Instance Method Details

# (void) set_json(jsonstr)

Parameters:

  • jsonstr ( string ) The JSON string.

# (void) logged()

# (void) do_login(pass)

Do the login steps connecting to the server and verifying the username and password.

Parameters:

  • username ( String ) The username.
  • pass ( String ) The 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.

Parameters:

  • jsonstr ( string ) The JSON string to save.
  • modelname ( string ) The name of the model.

# (void) load_model(modelname)

Retrieve the model from the server and import it.

Parameters:

  • modelname ( String ) The modelname to import.

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: