zents
Version:
ZenTS is a Node.js & TypeScript MVC-Framework for building rich web applications, released as free and open-source software under the MIT License. It is designed for building web applications with modern tools and design patterns.
13 lines (12 loc) • 435 B
TypeScript
import type { SessionStore } from './SessionStore';
import type { SessionStoreAdapter } from '../types/interfaces';
export declare class Session {
id: string;
user: any | null;
data: SessionStore;
adapter: SessionStoreAdapter;
provider: string;
constructor(id: string, user: any | null, data: SessionStore, adapter: SessionStoreAdapter, provider: string);
isAuth(): boolean;
destroy(): Promise<void>;
}