Firebase可以处理多种类型的用户帐户吗?
我正在考虑将Firebase用于我的下一个项目,但是我需要多种用户帐户类型(管理员和标准用户).Firebase的用户身份验证是否支持多种用户类型?如果是这样,我将如何检查用户类型,然后反向设置用户类型?
I’m looking into using Firebase for my next project, however i need multiple user account types (admin and standard user). Does Firebase’s user authentication support multiple user types? If so, how would I check the user type, and inversely set the user type?
Firebase Auth帐户不会区分用户类型,也不会为此提供任何配置文件设置.用户类型是您必须使用自己的"admin"定义来自己实现的概念.或标准"或您需要的任何东西.
Firebase Auth accounts don't discriminate between user types, nor does it offer any profile settings for that. User type is a concept that you have to implement for yourself using your own definitions of "admin" or "standard" or whatever it is you need.