functions.auth. UserInfo
Interface representing a user's info from a third-party identity provider such as Google or Facebook.
Properties
displayName
nullable string
The display name for the linked provider.
nullable string
The email for the linked provider.
photoURL
nullable string
The photo URL for the linked provider.
providerId
string
The linked provider ID (for example, "google.com" for the Google provider).
uid
string
The user identifier for the linked provider.
Method
toJSON
toJSON() returns Object
Returns a JSON-serializable representation of this object.
- Returns
-
non-null Object
A JSON-serializable representation of this object.