@kilterset/auth0-actions-testing
Version:
Test and develop Auth0 Actions or Okta CIC Actions locally.
10 lines • 556 B
TypeScript
import { events } from "..";
import Auth0 from "../../types";
import { CredentialsExchangeOptions } from "../api";
type Handler = (event: Auth0.Events.CredentialsExchange, api: Auth0.API.CredentialsExchange) => Promise<void>;
export declare function credentialsExchange({ cache, ...attributes }?: Parameters<typeof events.credentialsExchange>[0] & Omit<CredentialsExchangeOptions, "request">): {
event: Auth0.Events.CredentialsExchange;
simulate: (handler: Handler) => Promise<void>;
};
export {};
//# sourceMappingURL=credentials-exchange.d.ts.map