-
Notifications
You must be signed in to change notification settings - Fork 448
firebase user provider data? #196
Comments
Out of curiosity: what kind of data of which provider are you after? |
I would like to distinguish if a user is authorized by Google or if otherwise he is authorized by Facebook, and even more importantly if he is anonymously authenticated. |
You can already determine that I think - it's the logintype you're passing in. If the user is consequently logged on you can store the last logintype with the user. |
I think your suggestion works, but also I think it could be preferable to have this information using directly firebase as the source. Consider for example those cases in which a user has multiple login providers that have been linked to a single firebase user account. |
See the updated readme |
I could not find it in the documentation, is it possible to get the info of the provider from which the user authentication was authorized?
Let's say for example something similar to
getProviderData()
of the classFirebaseUser
in adroid, analogous toFireuser.providerData
in the iOS version.The text was updated successfully, but these errors were encountered: