简体   繁体   English

如果用户在使用 email 身份验证时退出应用程序,firebase 用户 uid 是否会更改?

[英]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.

相关问题 如何确定 Firebase 用户是否使用电子邮件和密码身份验证登录 - How to determine if a Firebase user is signed in using email and password authentication C#用户登录email时如何获取用户UID - How to get user UID when user is signed in with email in C# 如何使用Firebase电子邮件/密码身份验证获取UID并添加用户信息 - How to get UID and add user information with Firebase email/password authentication Firebase通过电子邮件获取用户UID - Firebase Get User UID by Email 从 Uid 获取用户电子邮件,无需登录应用 Firebase - Get User Email From Uid Without Login to app Firebase Firebase不会使用Facebook App用户ID创建Facebook帐户用户UID - Firebase does not create a Facebook account User UID using the Facebook App User ID Firebase 数据库用户身份验证:使用来自电话提供商的 UID 创建用户 Email 和密码 - Firebase Database User Authentication: Create User Email and Password with UID from Phone Provider Swift Firebase-如何验证`PhoneAuthCredential`并保持用户当前使用其当前电子邮件uid登录 - Swift Firebase -How can I verify the `PhoneAuthCredential` and keep the user currently signed in with their current email uid 当用户被禁用或删除时,Firebase 身份验证状态更改不会触发 - Firebase Authentication State Change does not fire when user is disabled or deleted 为什么注册用户后 Firebase 实时数据库用户 ID 与 Firebase 身份验证 UID 不匹配? - Why does Firebase Realtime Database User ID not match with the Firebase Authentication UID after signing up a user?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM