User session.

Hierarchy

  • Session

Implements

Constructors

  • Parameters

    • accessToken: null | string | (() => null | string) = null
    • sessionToken: null | ISessionToken | (() => null | ISessionToken) = null

    Returns Session

Properties

user: IUser

Information about the current user.

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 serverCode(): string
  • Server code.

    Returns string

Methods

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

    Returns null | string

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

    Returns null | ISessionToken

Generated using TypeDoc