UNPKG

@kilterset/auth0-actions-testing

Version:

Test and develop Auth0 Actions or Okta CIC Actions locally.

25 lines 640 B
interface AccessMock { build: <API>(api: API) => { deny: (reason: string) => API; }; state: { denied: false | { reason: string; }; }; } interface CredentialsExchangeAccessMock { build: <API>(api: API) => { deny: (code: string, reason: string) => API; }; state: { denied: false | { code: string; reason: string; }; }; } export declare function accessMock(flow: "CredentialsExchange"): CredentialsExchangeAccessMock; export declare function accessMock(flow: string): AccessMock; export {}; //# sourceMappingURL=access.d.ts.map