15 lines
309 B
TypeScript
15 lines
309 B
TypeScript
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;
|
|
};
|
|
}
|