interface SessionState {
    isLoggedIn: boolean;
    tenantId?: null | string;
    userId?: null | string;
}

Properties

isLoggedIn: boolean

When true, the user is currently logged in

tenantId?: null | string

The current tenant id (if specified). This is an arbitrary id, but typically refers to an organization

userId?: null | string

The current user id (if logged in)

Generated using TypeDoc