10 lines
315 B
TypeScript
10 lines
315 B
TypeScript
export function encodeJwt(privateKey: CryptoKey, payload: Object): PromiseLike<string>;
|
|
export function verifyJwt(publicKey: CryptoKey, jwt: string): Promise<{
|
|
header: any;
|
|
payload: any;
|
|
}>;
|
|
export function unsafeDecode(jwt: string): {
|
|
header: any;
|
|
payload: any;
|
|
};
|
|
//# sourceMappingURL=jwt.d.ts.map
|