Skip to main content

ClientInfo

@3dverse/livelink v0.8.10


@3dverse/livelink / ClientInfo

Type Alias: ClientInfo

ClientInfo: object

Defined in: livelink.js/sources/session/ClientInfo.ts:9

Information about a client in a session.

Type declaration

client_id

client_id: UUID

The unique identifier of the client. This is unique for each client in a session. This is only valid for the duration of the session.

client_type

client_type: "user" | "guest" | "unknown"

The type of the client.

  • "user" for authenticated users
  • "guest" for unauthenticated users
  • "unknown" for unknown clients

user_id

user_id: UUID

The unique identifier of the user on the 3dverse platform. The same user can have multiple clients in a session. In this case, the user_id is the same for all clients spawned by the same user.

username

username: string

The username associated to the user on the 3dverse platform.