Class Nexus\Mcp\Server\Transport\Http\ProtectedResourceMetadataHandler

final
readonly
implements RequestHandlerInterface

Serves this MCP server's Protected Resource Metadata document, the record a client reads to learn which authorization servers issue tokens for it. Route it at both /.well-known/oauth-protected-resource{/path} and /.well-known/oauth-protected-resource, and name the same URL in BearerAuthenticationMiddleware's challenges. Any other path is answered 404.

Methods