React Native Firebase
    Preparing search index...

    Represents a collection of standard profile information for a user. Can be used to expose profile information returned by an identity provider, such as Google Sign-In or Facebook Login.

    TODO @salakar: isEmailVerified

    const user = firebase.auth().currentUser;

    user.providerData.forEach((userInfo) => {
    console.log('User info for provider: ', userInfo);
    });
    interface UserInfo {
        displayName?: string;
        email?: string;
        phoneNumber?: string;
        photoURL?: string;
        providerId: string;
        tenantId?: string;
        uid: string;
    }
    Index

    Properties

    displayName?: string

    Returns the user's display name, if available.

    email?: string

    Returns the email address corresponding to the user's account in the specified provider, if available.

    phoneNumber?: string

    The phone number normalized based on the E.164 standard (e.g. +16505550101) for the current user. This is null if the user has no phone credential linked to the account.

    photoURL?: string

    Returns a url to the user's profile picture, if available.

    providerId: string

    Returns the unique identifier of the provider type that this instance corresponds to.

    tenantId?: string

    Returns a string representing the multi-tenant tenant id. This is null if the user is not associated with a tenant.

    uid: string

    Returns a user identifier as specified by the authentication provider.