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.

7 lines (6 loc) 291 B
import type { Context, SecurityStrategy } from '../../types/interfaces'; export declare class HeaderSecurityStrategy implements SecurityStrategy { hasToken(context: Context): boolean; getToken(context: Context): string | false; setToken(context: Context, token: string): void; }