Class Nexus\Mcp\Server\Transport\Http\Middleware\BearerAuthenticationMiddleware

final
readonly
implements MiddlewareInterface

Makes the MCP endpoint an OAuth 2.1 resource server, handing what it validated to handlers on ServerContext::$receiveContext->authInfo.

Methods