Update Current User

The updateCurrentUser method updates the current authenticated user with a new User instance.

Method

await FirebaseApp.firebaseAuth?.updateCurrentUser(user);

Parameters

  • user (User): The new User instance to update the current user.

Return

  • void: This method does not return a value.

This will update the current user in session with the newly created user user.

Last updated