beforeUserCreated method

JSFunction beforeUserCreated(
  1. JSObject optsOrHandler, [
  2. JSFunction handler
])

Handles an event that is triggered before a user is created @param optsOrHandler - Either an object containing function options, or an event handler (run before user creation) @param handler? - If defined, an event handler which is run every time before a user is created

Implementation

external JSFunction beforeUserCreated(
  JSObject optsOrHandler, [
  // (AuthBlockingEvent event) => FutureOr<BeforeCreateResponse?>
  JSFunction handler,
]);