docs-devsite/auth.userinfo.md
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
User profile information, visible only to the Firebase project's apps.
<b>Signature:</b>
export interface UserInfo
| Property | Type | Description |
|---|---|---|
| displayName | string | null | The display name of the user. |
| string | null | The email of the user. | |
| phoneNumber | string | null | The phone number normalized based on the E.164 standard (e.g. +16505550101) for the user. |
| photoURL | string | null | The profile photo URL of the user. |
| providerId | string | The provider used to authenticate the user. |
| uid | string | The user's unique ID, scoped to the project. |
The display name of the user.
<b>Signature:</b>
readonly displayName: string | null;
The email of the user.
<b>Signature:</b>
readonly email: string | null;
The phone number normalized based on the E.164 standard (e.g. +16505550101) for the user.
This is null if the user has no phone credential linked to the account.
<b>Signature:</b>
readonly phoneNumber: string | null;
The profile photo URL of the user.
<b>Signature:</b>
readonly photoURL: string | null;
The provider used to authenticate the user.
<b>Signature:</b>
readonly providerId: string;
The user's unique ID, scoped to the project.
<b>Signature:</b>
readonly uid: string;