Firebase 的 UI Auth 是否与实时数据库连接?

Does Firebase's UI Auth connect with Realtime Database?

在学习 Firebase 的 UI Auth 之前,我想知道它是否执行以下操作:

我认为拥有身份验证系统的一个目的是为用户提供个性化的网站体验。

例如,一旦登录,用户就会被添加到 Firebase 的实时数据库中。用户的 'name property' 是它提供给注册的那个。元素的内容包含消息:'Hello 'username'.

UI Auth 是否连接到 Firebase 的实时数据库来执行此操作?

不,firebase 不会这样做 thing.You 必须自己将用户添加到实时数据库。 登录后,您可以访问用户属性,例如(用户名和电子邮件)。之后,您可以自由选择如何管理您的用户。


编辑:

//you initialize app with fierebase config
app.initializeApp(firebaseConfig);
this.auth=app.auth();

//this line return a Promise 
this.auth.signInWithEmailAndPassword(email,password).then(
authUser=>{       /*

                Here you add user to firebase
                you want to use authUser.user.id  as document id
                 You also can access email and password
                  */

                    
                });

这是一个可能有用的link: https://firebase.google.com/docs/auth/web/manage-users