如何在java中创建firebase管理员用户进行身份验证 [英] How to create firebase admin user for authentication in java

查看:25
本文介绍了如何在java中创建firebase管理员用户进行身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有用户身份验证的基于 java 的 firebase 项目.我想创建一个管理员用户并允许管理员读取/写入用户验证/验证.

I have a firebase java based project with user authentication. I want to create an Admin user and allow admin to read/wite users verification/validation.

仅供参考,我是火力全开的菜鸟.我还没有找到任何有意义的资源.

FYI, im Total firebase noob. and I have'nt found any meaningful resource on this.

推荐答案

Firebase 中没有管理员用户"这样的东西.您必须在您的应用程序中为此创建逻辑.如何执行此操作取决于您应用的逻辑(例如您使用的 Firebase 功能).

There is no such thing as an "admin user" in Firebase. You will have to create the logic for that in your app. How to do this, depends on the logic of your app (and for example the Firebase features you use).

如果您使用 Firebase 数据库,以下是不错的起点:

If you're using the Firebase Database, these are good places to start:

这篇关于如何在java中创建firebase管理员用户进行身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆