且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何同时在适用于 Android 的 Firebase 身份验证中注册多个用户?

更新时间:2023-12-02 08:49:22

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:

  • 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.