Поддерживает клонирование, при котором создается новый экземпляр класса с тем же значением, что и у существующего экземпляра.

Hierarchy

Implements

Constructors

Properties

additionalInfo: null | IStorage<unknown>

Additional client session information.

Accessors

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

    Returns string

  • set applicationId(value: string): void
  • ID of the application that opened the session.

    Parameters

    • value: string

    Returns void

  • get calendarId(): string
  • Calendar ID from the employee role card.

    Returns string

  • set calendarId(value: string): void
  • Calendar ID from the employee role card.

    Parameters

    • value: string

    Returns void

  • get client64Bit(): null | boolean
  • Indicates that the client application is 64-bit. true - 64-bit application, false' - 32-bit application, null' - unknown bit depth.

    Returns null | boolean

  • set client64Bit(value: null | boolean): void
  • Indicates that the client application is 64-bit. true - 64-bit application, false' - 32-bit application, null' - unknown bit depth.

    Parameters

    • value: null | boolean

    Returns void

  • get client64BitOS(): null | boolean
  • Indicates that the client's operating system is 64-bit. true - 64-bit OS, false' - 32-bit OS, null' - the bit depth is unknown.

    Returns null | boolean

  • set client64BitOS(value: null | boolean): void
  • Indicates that the client's operating system is 64-bit. true - 64-bit OS, false' - 32-bit OS, null' - the bit depth is unknown.

    Parameters

    • value: null | boolean

    Returns void

  • get created(): string
  • Date and time when the token was created.

    Returns string

  • set created(value: string): void
  • Date and time when the token was created.

    Parameters

    • value: string

    Returns void

  • get culture(): string | number
  • Regional settings for the user.

    Returns string | number

  • set culture(value: string | number): void
  • Regional settings for the user.

    Parameters

    • value: string | number

    Returns void

  • get deviceType(): DeviceType
  • The type of device that the user uses to connect to the server.

    Returns DeviceType

  • set deviceType(value: DeviceType): void
  • The type of device that the user uses to connect to the server.

    Parameters

    • value: DeviceType

    Returns void

  • get expires(): string
  • Date and time when the token expires and it must be re-generated.

    Returns string

  • set expires(value: string): void
  • Date and time when the token expires and it must be re-generated.

    Parameters

    • value: string

    Returns void

  • get hostIP(): null | string
  • IP address of the client requesting login, or null if the IP address is unknown.

    Returns null | string

  • set hostIP(value: null | string): void
  • IP address of the client requesting login, or null if the IP address is unknown.

    Parameters

    • value: null | string

    Returns void

  • get hostName(): null | string
  • Hostname for the client requesting login, or `null' if the hostname is unknown.

    Returns null | string

  • set hostName(value: null | string): void
  • Hostname for the client requesting login, or `null' if the hostname is unknown.

    Parameters

    • value: null | string

    Returns void

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

    Returns string

  • set instanceName(value: string): void
  • Name of the server instance.

    Parameters

    • value: string

    Returns void

  • get osName(): null | string
  • Name of the operating system used on the user's device, or `null' if the OS is unknown.

    Returns null | string

  • set osName(value: null | string): void
  • Name of the operating system used on the user's device, or `null' if the OS is unknown.

    Parameters

    • value: null | string

    Returns void

  • get platformVersion(): null | string
  • Platform version or null if the platform has not provided version information.

    Returns null | string

  • set platformVersion(value: null | string): void
  • Platform version or null if the platform has not provided version information.

    Parameters

    • value: null | string

    Returns void

  • get serverCode(): string
  • Server code.

    Returns string

  • set serverCode(value: string): void
  • Server code.

    Parameters

    • value: string

    Returns void

  • get sessionId(): string
  • ID of the session that was created during the authentication process.

    Returns string

  • set sessionId(value: string): void
  • ID of the session that was created during the authentication process.

    Parameters

    • value: string

    Returns void

  • get signature(): string
  • Token signature confirming its authenticity.

    Returns string

  • set signature(value: string): void
  • Token signature confirming its authenticity.

    Parameters

    • value: string

    Returns void

  • get timeZoneUtcOffset(): number
  • Offset of the time zone from the employee role card.

    Returns number

  • set timeZoneUtcOffset(value: number): void
  • Offset of the time zone from the employee role card.

    Parameters

    • value: number

    Returns void

  • get uiCulture(): string | number
  • The language of the user interface.

    Returns string | number

  • set uiCulture(value: string | number): void
  • The language of the user interface.

    Parameters

    • value: string | number

    Returns void

  • get userAgent(): null | string
  • The UserAgent string of the browser that connects to the server, or `null' if the connection is not using a browser.

    Returns null | string

  • set userAgent(value: null | string): void
  • The UserAgent string of the browser that connects to the server, or `null' if the connection is not using a browser.

    Parameters

    • value: null | string

    Returns void

  • get userId(): string
  • User ID.

    Returns string

  • set userId(value: string): void
  • User ID.

    Parameters

    • value: string

    Returns void

  • get userLogin(): null | string
  • User login, including Windows account or Tessa user login, or null if the session is not associated with a valid employee of the system.

    Returns null | string

  • set userLogin(value: null | string): void
  • User login, including Windows account or Tessa user login, or null if the session is not associated with a valid employee of the system.

    Parameters

    • value: null | string

    Returns void

  • get userName(): string
  • User name.

    Returns string

  • set userName(value: string): void
  • User name.

    Parameters

    • value: string

    Returns void

  • get utcOffset(): number
  • Offset for the user relative to UTC.

    Returns number

  • set utcOffset(value: number): void
  • Offset for the user relative to UTC.

    Parameters

    • value: number

    Returns void

Methods

  • Создает новый объект, который является копией текущего экземпляра.

    Returns SessionToken

Generated using TypeDoc