Interface ConnectionData

The ConnectionData is the attachment of the DirectorySessionInterfaceSignal.LoginSuccess signal sent by the DirectorySessionInterface in case of a successful login. This interface also corresponds to the attachment of the DirectorySessionInterfaceSignal.AccessRightsRefreshed signal sent by the DirectorySessionInterface in case of successful refresh of the access rights.

This object stores information about the available builds to the user, projects, computed tags and teams rights attached to the user, user information and server privacy policies.


Events

interface ConnectionData {
    builds: BuildMap;
    client_hardwarereport: boolean;
    client_usagereport: boolean;
    orderedBuilds: Build[];
    projects: ProjectList;
    teams: TeamMap;
    user: UserData;
}

Properties

builds: BuildMap

The map of available builds for the logged in user.

client_hardwarereport: boolean

Tells if the user should send the hardware reports to the server.

client_usagereport: boolean

Tells if the user should send the usage reports to the server.

orderedBuilds: Build[]

The available builds sorted from most recent to oldest.

projects: ProjectList

The available builds ordered by projects.

teams: TeamMap

The map of teams the user belongs to.

user: UserData

Some specific user data.