Nexus API Reference

GlobalAuthorizationMiddlewareException extends NexusException
in package

FinalYes
Tags
psalm-api

Thrown at compile time when an AuthorizationEnforcer middleware is registered in the GLOBAL HTTP stack. Global middleware runs before routing, so the enforcer would never see the resolved handler class and every request would fail (or, worse, pass unchecked). The enforcer must be registered per-route, after routing.

Table of Contents

Methods

__construct()  : mixed

Methods

On this page

Search results