UNPKG

@kilterset/auth0-actions-testing

Version:

Test and develop Auth0 Actions or Okta CIC Actions locally.

30 lines 802 B
import Auth0 from "../../types"; export interface PreUserRegistrationOptions { user?: Auth0.User; cache?: Record<string, string>; now?: ConstructorParameters<typeof Date>[0]; request?: Auth0.Request; } export interface PreUserRegistrationState { user: Auth0.User; cache: Auth0.API.Cache; access: { denied: false; } | { denied: { code: string; reason: string; }; }; validation: { error: { code: string; message: string; } | null; }; } export declare function preUserRegistration({ user, cache, }?: PreUserRegistrationOptions): { implementation: Auth0.API.PreUserRegistration; state: PreUserRegistrationState; }; //# sourceMappingURL=pre-user-registration.d.ts.map