UserInfo interface Stay organized with collections Save and categorize content based on your preferences.
User profile information, visible only to the Firebase project's apps.
Signature:
exportinterfaceUserInfoProperties
| 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. |
UserInfo.displayName
The display name of the user.
Signature:
readonlydisplayName:string|null;UserInfo.email
The email of the user.
Signature:
readonlyemail:string|null;UserInfo.phoneNumber
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.
Signature:
readonlyphoneNumber:string|null;UserInfo.photoURL
The profile photo URL of the user.
Signature:
readonlyphotoURL:string|null;UserInfo.providerId
The provider used to authenticate the user.
Signature:
readonlyproviderId:string;UserInfo.uid
The user's unique ID, scoped to the project.
Signature:
readonlyuid:string;Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-22 UTC.