Request authentication context.
uid- the UID of the requesting user.
token- a map of JWT token claims.
token map contains the following values:
|The email address associated with the account, if present.|
||The phone number associated with the account, if present.|
||The user's display name, if set.|
||The user's Firebase UID. This is unique within a project.|
A map of all the identities that are associated with this user's account. The keys of the map can be any of the following:
The sign-in provider used to obtain this token. Can be one of the following strings:
The request method. One of:
Path of the affected resource.
Map of query properties, when present.
limit- query limit clause.
offset- query offset clause.
orderBy- query orderBy clause.
// Limit documents per request to 50 allow list: if request.query.limit <= 50
The new resource value, present on write requests only.
When the request was received by the service.
For Firestore write operations that include server-side timestamps, this time will be equal to the server timestamp.
// Make sure that 'myServerTimestampField' was set using a // server-side timestamp. request.time == request.resource.data.myServerTimestampField