简体   繁体   中英

Firebase Quota - FirebaseAuth Current User

Does the method call to FirebaseAuth.instance.currentUser count against any quota? 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:

await auth.FirebaseAuth.instance.currentUser

Accessing FirebaseAuth.instance.currentUser is nothing more than accessing local 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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