onForbidden property
Callback to refresh a permission. When the container-wide CosmosDbPermission expires and a CosmosDB API replies with a ForbiddenException (HTTP error 403), this callback will be invoked to obtain a new, valid CosmosDbPermission that will replace the expired one.
Implementation
FutureCallback<CosmosDbPermission?>? onForbidden;