authProvider property

AuthTokenProvider? get authProvider

The source of the token that Firestore sends with each request. Default null: requests carry no token, and the security rules see no user.

You can also leave it null and set FirebaseApp.authProvider later, before the Firestore instance is created; FirebaseUserAuth.forApp of package:firebase_auth_providers_dart does that.

Implementation

AuthTokenProvider? get authProvider => null;