A Plug that blocks requests to disabled routes with a 403 Forbidden.
Checks ApiManagementConsoleV2.RoutePolicies for the current request.
Immutable routes and routes not found in the policy store pass through.
Only explicitly disabled mutable routes are blocked.
Usage
Automatic via use ApiManagementConsoleV2.Router (the :route_guard pipeline).
Or manually inside any pipeline:
pipeline :api do
plug ApiManagementConsoleV2.Plugs.RouteGuard
end