Retrieve the authenticated username.
Check if we're authenticated, process any lobby query-parameters present in the URL, and initiate the user's file system if authenticated (can be disabled).
loadFileSystem if you want to load the user's file system yourself.
NOTE: Only works on the main/ui thread, as it uses
Removes any trace of the user and redirects to the lobby.
Load a user's file system.
The permissions from initialise.
null if working without permissions
Optional, username of the user to load the file system from. Will try to load the file system of the authenticated user by default. Throws an error if there's no authenticated user.
Optional, AES key to be the root key of a new filesystem. Will be used if a filesystem hasn't been created yet.
Redirects to a lobby.
NOTE: Only works on the main thread, as it uses
The permissions from
null if working without permissions.
Specify the URL you want users to return to. Uses the current url by default.
Generated using TypeDoc