of

fun of(type: AggregateType, caller: Caller, target: TargetScope? = null, reads: CrossTenant? = null, entry: QueryEntry = QueryEntry.HTTP): QueryCaller

The query caller caller reads type as on entry, in the target scope and across the tenants it names, when it names them: the caller's identity acting in the decided tenant and scope, carrying the target and, for a cross-tenant read, the tenants it reads. Throws the QueryError that refuses it.