firebase library

Classes

Allow
A firebase allow rule
FirebaseMatch
Base class used for analysis
FirebaseRules
Firebase Rules annotation
FirestoreResource<T>
A Firestore resource object
MapDiff<K>
The MapDiff type represents the result of comparing two rules.Map objects.
Match<T extends FirebaseResource>
A firebase rules match statement
RulesAuth
Request authentication context.
RulesBytes
Type representing a sequence of bytes.
RulesDuration
Duration with nanosecond accuracy.
RulesLatLng
Type representing a geopoint. Used in rules as latlng.
RulesList<T>
List type. Items are not necessarily homogenous.
RulesMap<K, V>
Map type, used for simple key-value mappings.
RulesPath
Directory-like pattern for the location of a resource.
RulesQuery
Map of query properties, when present.
RulesRequest<T extends FirebaseResource>
The incoming request context.
RulesSet<T>
A set is an unordered collection. A set cannot contain duplicate items.
RulesString
Primitive type representing a string value.
RulesTimestamp
A timestamp in UTC with nanosecond accuracy.
RulesToken
a map of JWT token claims.
StorageResource
The resource variable contains the metadata of a file being uploaded or the updated metadata for an existing file. This is related to the resource variable, which contains the current file metadata at the requested path, as opposed to the new metadata.

Enums

Operation
Service operations
RulesDurationUnit
Unit of the duration.
RulesIdentityProvider
Identity providers
RulesMethod
The request method.
RulesSignInProvider
Sign in providers
Service
Firebase rules services

Extensions

RulesDateTimeExtension on DateTime
Access to RulesTimestamp methods
RulesListExtension on List<T>
Access to RulesList methods
RulesMapExtension on Map<K, V>
Access to RulesMap methods
RulesObjectExtension on Object
Convert any Object to a RulesMap
RulesSetExtension on Set<T>
Access to RulesSet methods
RulesStringExtension on String
Access to RulesString methods

Constants

firestoreRoot → const String
The root of Firestore
storageRoot → const String
The root of Storage

Properties

request RulesRequest<FirebaseResource>
Use this global request object if you do not require type-safe access to RulesRequest.resource
no setter
rules → RulesMethods
Access to RulesMethods
no setter

Typedefs

ContextualCallback<T, U extends FirebaseResource> = List<T> Function(RulesString _, RulesRequest<U> request, U resource)
A callback that provides information about the current rules context