auth
auth copied to clipboard
Refactor failure handler to use dedicated interface instead of RequestHandlerInterface
This PR removes misuse of PSR-15 RequestHandlerInterface for authentication failure handling and introduces a dedicated AuthenticationFailureHandlerInterface with a clear contract.
Failure handlers are now middleware-specific and no longer pretend to be part of the PSR-15 pipeline. Fixes #106