UNPKG

@simulacrum/auth0-simulator

Version:

Run local instance of Auth0 API for local development and integration testing

7 lines 364 B
import type { SignOptions } from "jsonwebtoken"; import { sign } from "jsonwebtoken"; export declare const parseKey: (key: string) => string; type SignPayload = Parameters<typeof sign>[0]; export declare function createJsonWebToken<P extends SignPayload>(payload: P, privateKey?: string, options?: SignOptions): string; export {}; //# sourceMappingURL=jwt.d.ts.map