Skip to content

Firebase Admin Node.js SDK v5.1.0

Compare
Choose a tag to compare
@hiranya911 hiranya911 released this 25 Jul 18:49
· 1184 commits to master since this release
  • Added the method getUserByPhoneNumber() to the admin.auth interface. This method enables retrieving user profile information by a phone number.
  • createUser() and updateUser() methods now accept a phoneNumber property, which can be used to create users with a phone number field and/or update the phone number associated with a user.
  • Added the phoneNumber field to admin.auth.UserRecord, which exposes the phone number associated with a user account.
  • Added the phoneNumber field to admin.auth.UserInfo, which exposes the phone number associated with a user account by a linked identity provider.