According to the documentation says, you should not use getUid()
of user to authenticate users on the backend server; instead, use getToken()
. However, I see a lot of code out there using this attribute to save things specific to a user, for example, a list of user X tasks.
What should I actually use?