internal library
Internal utilities shared by firebase_app_dart and cloud_firestore_dart
(token types, logging, preconditions).
Not public API. This library exists so that other packages of this repository can share code. It can change in any release, including patch releases, without notice. Do not import it from application code.
Classes
- AppCheckTokenProvider
- Gives Firebase services access to App Check tokens. An implementation (for example one backed by a device attestation service) is registered on the FirebaseApp; services that find none simply send no App Check header.
- AppCheckTokenResult
- Result of an App Check token request.
- AuthTokenChange
-
An event of
AuthTokenProvider.onTokenChanged: the new token, empty after a sign-out. - AuthTokenProvider
-
The source of the token that Firestore sends with each request (
Authorization: Bearer). - GetTokenResult
-
A token returned by
AuthTokenProvider.getAccessToken, with the claims of its payload. - InternalLogLevel
- The severity of a log message, ordered from i (lowest) to e: i < d < info < w < e < none.
- Log
- Minimal leveled logger that prints to stdout.
- Preconditions
- Argument and state checks that throw when they fail.
- ToStringHelper
-
Builds indented
toStringoutput of the formName { field=value, }.