BeforeUserProfileUpdatedHandler typedef

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

Callback to be invoked with the new user profile before it will be updated.

Implementation

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