Home > @firebase/auth > updateProfile
updateProfile() function
Updates a user's profile data.
Signature:
export declare function updateProfile(user: User, { displayName, photoURL: photoUrl }: {
displayName?: string | null;
photoURL?: string | null;
}): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
user | User | The user. |
Returns:
Promise<void>