如何同时在适用于 Android 的 Firebase 身份验证中注册多个用户? [英] How do I register multiple users in Firebase Authentication for Android at the same time?
问题描述
我已经实现了通过 android 应用添加单个用户,但无法同时注册多个用户.是否有一些 java 或 android 代码可以让我同时注册大量用户?
I have implemented adding a single user through android app but cannot register multiple users at the same time. Is there some java or android code which will allow me to register a large number of users at the same time?
推荐答案
Firebase 客户端 SDK(适用于 Android、iOS 和 Web)旨在用于最终用户应用程序.它们只允许您一次注册一个用户,该用户会立即登录.
The Firebase client SDKs (for Android, iOS and Web) are meant to be used in end-user applications. They only allow you to register a single user at once, and that user is immediately signed in.
要一次注册多个用户,请考虑使用:
To register multiple users at once, consider using:
Firebase Admin SDK,其中身份验证功能目前仅在 Node.js 中可用.
the Firebase Admin SDK, for which the Authentication functionality is only available in Node.js at the moment.
Firebase 命令行工具的 auth:import 命令.
the auth:import command of the Firebase command line tools.
这篇关于如何同时在适用于 Android 的 Firebase 身份验证中注册多个用户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!