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.

10 lines (9 loc) 312 B
import type { JWTOptions } from '../types/interfaces'; export declare abstract class JWT { static sign(payload: { [key: string]: any; }): Promise<string>; static verify(token: string): Promise<boolean>; static decode<T>(token: string): T; protected static getOptions(): JWTOptions; }