Returns the username from the local storage.
Returns the user token from the local storage.
Returns the username from the local storage.
Returns true if the user just logged in. Useful to update username or trigger messages in the game.
Returns true if a user token is present in the local storage.
Condition to check if the window is open, so that the game can be paused in the background.
Remove the user information from the local storage.
Action to display the authentication window to the user.
Remove the banner displaying the authentication status.
Remove the container displaying the authentication window and the callback.
Generated using TypeDoc
Action to display the banner to the user, depending on their authentication status.