export interface ILoginSession { id: string; data: { userId: string; validUntil: number; invalidated: boolean; refreshToken: string; /** * a device id that can be used to share the login session * in different contexts on the same device */ deviceId: string; }; }