admin is the only object that unlogged-in clients can access. It holds any methods that are needed to log in.

Hierarchy

Constructors

Properties

NAME: string = "Admin"
VERSION: number = 4
_transport: Transport
NAME: string = "Admin"
VERSION: number = 4

Methods

  • LoginWithSessionCookie logs in if the session cookie exists when the websocket connection is made. All subsequent requests on the connection will act as the authenticated user.

    Returns Promise<LoginResult>

Generated using TypeDoc