Indicates if a user is active.
Number of milliseconds that a user is allowed to be inactive. Default: 3600000. If set to 0, automatic logout is disabled.
Date object representing the last activity. Only used if useLocalStorage is false
Indicates if a user should be logged out on inactivity.
Indicates if the local storage is used to store the latest activity.
Represents the state of an app regarding user activity It can be observed to detect inactivity.
The state is available as service
system.ActivityState
.