UNPKG

@simulacrum/auth0-simulator

Version:

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

13 lines 528 B
import type { Request, RequestHandler } from "express"; type Routes = "/jwks.json" | "/openid-configuration"; export type OpenIdRoutes = `${`/.well-known`}${Routes}`; export interface OpenIdConfiguration { issuer: string; authorization_endpoint: string; token_endpoint: string; userinfo_endpoint: string; jwks_uri: string; } export declare const createOpenIdHandlers: (serviceURL: (request: Request) => string) => Record<OpenIdRoutes, RequestHandler>; export {}; //# sourceMappingURL=openid-handlers.d.ts.map