forked from quic-issues/427e7578-d7bf-49c8-aee9-2dd999e25316
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
|