Skip to main content
Version: v1

IClient Interface

Signature

export interface IClient

Properties

PropertyModifiersTypeDescription
detailsIClientDetails
modeConnectionMode
permissionstring[]
scopesstring[]
timestampoptionalnumberThe time the client connected
userIUser

Property Details

details

Signature

details: IClientDetails;

Type: IClientDetails

mode

Signature

mode: ConnectionMode;

Type: ConnectionMode

permission

Signature

permission: string[];

Type: string[]

scopes

Signature

scopes: string[];

Type: string[]

timestamp

The time the client connected

Signature

timestamp?: number;

Type: number

user

Signature

user: IUser;

Type: IUser