MCP PHP SDK

OAuth

Table of Contents

Interfaces

AuthorizationTokenValidatorInterface
Validates bearer tokens for HTTP transports.

Classes

AuthorizationResult
Describes the outcome of an authorization decision.
JwtTokenValidator
Validates JWT access tokens issued by one authorization server.
ProtectedResourceMetadata
OAuth 2.0 Protected Resource Metadata (RFC 9728).
ProtectedResourceMetadataHandler
Serves OAuth 2.0 Protected Resource Metadata (RFC 9728) as a standalone request handler.
RateLimitedJwksClient
Limits JWKS requests per URI and throws at the limit, as a {@see \Firebase\JWT\CachedKeySet} with its own rate limit reports the key as missing.
ScopePolicy
Declares which scopes a request needs, enforced by {@see \Mcp\Server\Transport\Http\Middleware\AuthorizationMiddleware}.
On this page

Search results