UNPKG

315 BTypeScriptView Raw
1export function encodeJwt(privateKey: CryptoKey, payload: Object): PromiseLike<string>;
2export function verifyJwt(publicKey: CryptoKey, jwt: string): Promise<{
3 header: any;
4 payload: any;
5}>;
6export function unsafeDecode(jwt: string): {
7 header: any;
8 payload: any;
9};
10//# sourceMappingURL=jwt.d.ts.map
\No newline at end of file