AccountServices

Available in: Interface Scripts Client Entity Scripts

The AccountServices API contains helper functions related to user connectivity
Methods

Signals

Properties:
Name Type Description
username string Read-only.
loggedIn boolean Read-only.
findableBy string
metaverseServerURL string Read-only.

Methods

checkAndSignalForAccessToken() → {boolean}
Returns:
Type: boolean
getDownloadInfo() → {DownloadInfoResult}
Returns:
Type: DownloadInfoResult
isLoggedIn() → {boolean}
Returns:
Type: boolean
logOut()
updateDownloadInfo()

Signals

connected() → {Signal}
Returns:
Type: Signal
disconnected(reason) → {Signal}
Parameters:
Name Type Description
reason string
Returns:
Type: Signal
downloadInfoChanged(info) → {Signal}
Parameters:
Name Type Description
info
Returns:
Type: Signal
findableByChanged(discoverabilityMode) → {Signal}
Parameters:
Name Type Description
discoverabilityMode string
Returns:
Type: Signal
loggedInChanged(loggedIn) → {Signal}
Parameters:
Name Type Description
loggedIn boolean
Returns:
Type: Signal
myUsernameChanged(username) → {Signal}
Parameters:
Name Type Description
username string
Returns:
Type: Signal