@simulacrum/auth0-simulator
Version:
Run local instance of Auth0 API for local development and integration testing
18 lines • 710 B
TypeScript
import type { ScopeConfig } from "../types.ts";
import type { ExtendedSimulationStore } from "../store/index.ts";
import type { Auth0User } from "../store/entities.ts";
type Predicate<T> = (this: void, value: T, index: number, obj: T[]) => boolean;
export declare const createPersonQuery: (store: ExtendedSimulationStore) => (predicate: Predicate<Auth0User>) => {
id: string;
name: string;
password: string;
email?: string | undefined;
picture?: string | undefined;
} | undefined;
export declare const deriveScope: ({ scopeConfig, clientID, audience, }: {
scopeConfig: ScopeConfig;
clientID: string;
audience: string;
}) => string;
export {};
//# sourceMappingURL=utils.d.ts.map