UserProvider interface

Represents a user identity provider that can be associated with a Firebase user.

Signature:

exportinterfaceUserProvider

Properties

PropertyTypeDescription
displayNamestringThe display name for the linked provider.
emailstringThe email for the linked provider.
phoneNumberstringThe phone number for the linked provider.
photoURLstringThe photo URL for the linked provider.
providerIdstringThe linked provider ID (for example, "google.com" for the Google provider).
uidstringThe 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;

UserProvider.uid

The user identifier for the linked provider.

Signature:

uid?: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-29 UTC.