mirror of
https://github.com/denoland/deno.git
synced 2024-12-20 22:34:46 -05:00
8 lines
338 B
TypeScript
8 lines
338 B
TypeScript
|
import { AlgorithmTypes } from './types';
|
||
|
export declare const sign: (payload: unknown, secret: string, alg?: AlgorithmTypes) => Promise<string>;
|
||
|
export declare const verify: (token: string, secret: string, alg?: AlgorithmTypes) => Promise<boolean>;
|
||
|
export declare const decode: (token: string) => {
|
||
|
header: any;
|
||
|
payload: any;
|
||
|
};
|