Provides session information.

Hierarchy

  • SessionContainer

Implements

Constructors

Accessors

  • get accessToken(): string
  • Token describing the session access data.

    Returns string

  • get applicationId(): string
  • ID of the application that opened the session.

    Returns string

  • get id(): string
  • Session ID.

    Returns string

  • get instanceName(): string
  • Name of the server instance.

    Returns string

  • get isInitialized(): boolean
  • Session has been initialized.

    Returns boolean

  • get serverCode(): string
  • Server code.

    Returns string

  • get user(): IUser
  • Information about the current user.

    Returns IUser

Methods

  • Performs session initialization.

    Parameters

    • session: ISession

      The session to initialize.

    Returns Promise<void>

  • Token describing the session access data, or `null' if the session is not associated with the token.

    Returns null | string

Generated using TypeDoc