Home Reference Source Repository
public class | source

UserSession

Session object used for logins

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

Authentication token to synthesis service

public

ID of this device

public

modules: *

Map of modules the user is registered for

public

Flag if the user is registered for atleast one module

public

Username of the active user

Method Summary

Public Methods
public
public

updateSession(userSession: *)

Update more complex attributes of the user session

Public Constructors

public constructor source

Public Members

public authToken: * source

Authentication token to synthesis service

public deviceId: * source

ID of this device

public modules: * source

Map of modules the user is registered for

public registered: boolean source

Flag if the user is registered for atleast one module

public username: * source

Username of the active user

Public Methods

public clearSession() source

public updateSession(userSession: *) source

Update more complex attributes of the user session

Params:

NameTypeAttributeDescription
userSession *