UserProvider interface | Firebase Admin SDK (original) (raw)
UserProvider interface
Represents a user identity provider that can be associated with a Firebase user.
Signature:
export interface UserProvider
Properties
Property | Type | Description |
---|---|---|
displayName | string | The display name for the linked provider. |
string | The email for the linked provider. | |
phoneNumber | string | The phone number for the linked provider. |
photoURL | 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. |
UserProvider.displayName
The display name for the linked provider.
Signature:
displayName?: string;
UserProvider.email
The email for the linked provider.
Signature:
email?: string;
UserProvider.phoneNumber
The phone number for the linked provider.
Signature:
phoneNumber?: string;
UserProvider.photoURL
The photo URL for the linked provider.
Signature:
photoURL?: string;
UserProvider.providerId
The linked provider ID (for example, "google.com" for the Google provider).
Signature:
providerId?: string;
The user identifier for the linked provider.
Signature:
uid?: string;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-29 UTC.