mirror of
https://github.com/denoland/deno.git
synced 2024-12-30 02:59:11 -05:00
7 lines
338 B
TypeScript
7 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;
|
|
};
|