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