Add a “Full Name” Field to Firebase Email/Password Authentication?

坚强是说给别人听的谎言 提交于 2019-12-18 09:49:23

问题


Is there a way to add a "Full Name" field to the Email/Password authentication on Firebase? (Using Swift)


回答1:


You cannot add your own custom field to the Firebase Authentication social providers (Facebook, Google, etc) or email+password. You can of course store such information in your Firebase Database, keyed by the user's ID:

users
  uid_209103
    fullName: "Frank van Puffelen"

Note that Firebase Authentication already has a displayName property for each user, which may cover your needs.



来源:https://stackoverflow.com/questions/37514008/add-a-full-name-field-to-firebase-email-password-authentication

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!