Update Profile
Use the updateProfile
method to update the current user's profile information, such as display name and photo URL.
Method
Parameters
displayName (
String
): The new display name for the user.displayImage (
String
): The new photo URL for the user.idToken (
String?
): The optional ID token to validate the request.
Return
User?: Returns the updated
User
instance with the new profile information.
This method updates the current user's display name and photo URL, returning the updated user profile.
Last updated