简体   繁体   English

Firebase 配额 - FirebaseAuth 当前用户

[英]Firebase Quota - FirebaseAuth Current User

Does the method call to FirebaseAuth.instance.currentUser count against any quota?FirebaseAuth.instance.currentUser的方法调用是否计入任何配额? Or is this locally maintained?或者这是本地维护的?

We are using the flutter plugin and can not determine if this call can be done without increasing any quotas:我们正在使用 flutter 插件,无法确定是否可以在不增加任何配额的情况下完成此调用:

await auth.FirebaseAuth.instance.currentUser

Accessing FirebaseAuth.instance.currentUser is nothing more than accessing local state.访问FirebaseAuth.instance.currentUser无非就是访问本地 state。 No call is made for this whatsoever, so it can never hit any quota issues.对此没有任何要求,因此它永远不会遇到任何配额问题。

In general determining the current user does not hit any quota'd services that I'm aware of.一般来说,确定当前用户不会点击我知道的任何配额服务。 It's only acts like signing in, verifying passwords/OTPs, etc, that are affected by quota.它只是受配额影响的登录、验证密码/OTP 等行为。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM