UNPKG

349 BTypeScriptView Raw
1import { JwtOption } from './jwt.interface';
2export declare class JwtService {
3 private jwtOption;
4 constructor(jwtOption: JwtOption);
5 sign(payload: object, options?: object): string;
6 verify(token: string, options?: object): string | object;
7 decode(token: string, options?: object): string | {
8 [key: string]: any;
9 };
10}