AuthenticationManager

AuthenticationManager

See:
  • projectManager#usePublicCloudIndex

Object responsible for log in and log out. Used for saving non-public cloud projects.

Members

token

Get the token of the currently logged in user.

userData

Get the user data of the currently logged in user.

Methods

logIn(name, password) → {Promise.<bool>}

Log in to use non public cloud projects.

Parameters:
Name Type Description
name string
password string
Returns:

log in status

Type
Promise.<bool>

logOut()

Log out after a previous log in.