Route guard requiring the authenticated principal to hold every given OAuth scope.
The required scopes.
A functional middleware that throws AuthenticationError (401) when anonymous or InsufficientScopeError (403) when a scope is missing.
AuthenticationError
InsufficientScopeError
Route guard requiring the authenticated principal to hold every given OAuth scope.