[英]Does the firebase user uid change if the user is signed out of the app when using email authentication?
I have to implement firebase email authentication and want to store data with a field of firebaseUser.uid in that.我必须实现 firebase email 身份验证,并希望在其中存储带有 firebaseUser.uid 字段的数据。 I want to know if there is any case when the user's uid will be changed so that I don't mess up with the user data as I will be referring it based on the user's uid.
我想知道是否有任何情况下会更改用户的 uid,以免我弄乱用户数据,因为我将根据用户的 uid 引用它。 So if any user signs up using an email id, it's uid should never change unless he logs in again with a different email.
因此,如果任何用户使用 email id 注册,则它的 uid 永远不会更改,除非他使用不同的 email 再次登录。
The UID for a user is assigned randomly and never changes within that project.用户的 UID 是随机分配的,并且在该项目中永远不会更改。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.