Structs§
- Address
- Represents a structured address for the OIDC address claim.
- Auth
Claims - Represents a combined set of JWT, OAuth 2.0, OIDC, and provider-specific claims.
- Auth
Info - Information about a validated access token, provided to request handlers.
- Auth
Metadata Builder - Auth
Metadata Endpoints - Authorization
Server Metadata - Introspection
Response - Represents an OAuth 2.0 Token Introspection response as per RFC 7662.
- Json
WebKey Set - A JSON Web Key Set (JWKS) containing a list of JSON Web Keys.
- Oauth
Metadata - Oauth
Protected Resource Metadata - represents metadata about a protected resource in the OAuth 2.0 ecosystem. It allows clients and authorization servers to discover how to interact with a protected resource (like an MCP endpoint), including security requirements and supported features. https://datatracker.ietf.org/doc/rfc9728
- Remote
Auth Provider - Represents a Remote OAuth authentication provider integrated with the MCP server.
This struct defines how the MCP server interacts with an external identity provider
that supports Dynamic Client Registration (DCR).
The
RemoteAuthProviderenables enterprise-grade authentication by leveraging external OAuth infrastructure, while maintaining secure token verification and identity validation within the MCP server.
Enums§
- Audience
- Represents the audience claim, which can be a single string or a list of strings.
- Auth
Metadate Error - Authentication
Error - Oauth
Endpoint