UNPKG

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.

8 lines (7 loc) 312 B
import type { Context, SecurityStrategy } from '../../types/interfaces'; export declare class CookieSecurityStrategy implements SecurityStrategy { get cookieKey(): string; hasToken(context: Context): boolean; getToken(context: Context): string; setToken(context: Context, token: string): void; }