Appearance
getUserByPhoneNumber()
getUserByPhoneNumber(
phoneNumber):Promise<UserRecord>
Defined in: CloudFireAuth.ts:204
Gets the user data for the user corresponding to a given phone number. The phone number has to conform to the E.164 specification.
See Retrieve user data for code samples and detailed documentation.
Parameters
phoneNumber
string
The phone number corresponding to the user whose data to fetch.
Returns
Promise<UserRecord>
A promise fulfilled with the user data corresponding to the provided phone number.