BeforeUserProfileCreatedHandler typedef

BeforeUserProfileCreatedHandler = FutureOr<UserProfileData> Function(Session session, UuidValue authUserId, UserProfileData userProfile, {required Transaction transaction})

Callback to be invoked with the new user profile data before it gets created.

Implementation

typedef BeforeUserProfileCreatedHandler = FutureOr<UserProfileData> Function(
  Session session,
  UuidValue authUserId,
  UserProfileData userProfile, {
  required Transaction transaction,
});