Skip to content

getUserByProviderUid()

getUserByProviderUid(providerId, uid): Promise<UserRecord>

Defined in: CloudFireAuth.ts:222

Gets the user data for the user corresponding to a given provider id.

See Retrieve user data for code samples and detailed documentation.

Parameters

providerId

string

The provider ID, for example, "google.com" for the Google provider.

uid

string

The user identifier for the given provider.

Returns

Promise<UserRecord>

A promise fulfilled with the user data corresponding to the given provider id.