Jump to top

UpdateProfile

interface

Request used to update user profile information.

Example
const update = {
  displayName: 'Alias',
  photoURL: 'https://my-cdn.com/assets/user/123.png',
};

await firebase.auth().currentUser.updateProfile(update);

Properties

displayName

</>

An optional display name for the user. Explicitly pass null to clear the displayName.

displayName: string | null;

photoURL

</>

An optional photo URL for the user. Explicitly pass null to clear the photoURL.

photoURL: string | null;