Callback for user info being updated.
typedef UserInfoUpdateCallback = Future<void> Function(Session session, UserInfo userInfo);