requireScope

fun requireScope(entry: QueryEntry, authenticated: FilterExpression, profile: QueryModelProfile?)

Rejects the query when requireAuthenticatedScope applies and authenticated misses the required scope.