UNPKG

@a11ywatch/core

Version:
9 lines (8 loc) 280 B
import jwt from "jsonwebtoken"; export declare const signJwt: ({ email, role, keyid }: { email: any; role: any; keyid: any; }) => string; export declare const verifyJwt: (token: any) => string | jwt.JwtPayload; export declare const decodeJwt: (token: any) => jwt.Jwt;