Interface JSessionData

interface JSessionData {
    accessToken: string;
    accessTokenExpiration: number;
    changePasswordAllowed: boolean;
    currentOrganization: JOrganization;
    organizationInfos: JOrganizationInfo[];
    user: JUserIdentity;
}

Hierarchy (view full)

Properties

accessToken: string

The JMap user session token (legacy) or access token (Saas JMap Cloud).

accessTokenExpiration: number

The access token expiration time in seconds.

changePasswordAllowed: boolean

The user permission to change his password

currentOrganization: JOrganization

THe JMap Cloud organization in which the user is currently logged in, only for JMap Cloud servers.

organizationInfos: JOrganizationInfo[]

Infos about the user's organizations, only for JMap Cloud servers.

The user information.

Example

user: {
username: "jdo@company.com",
fullName: "John Do",
admin: true
}