mirror of
https://github.com/denoland/deno.git
synced 2024-11-04 08:54:20 -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;
|
|
};
|