Table of Contents

Namespace ModelContextProtocol.Authentication

Classes

ClientOAuthOptions

Provides configuration options for the ModelContextProtocol.Authentication.ClientOAuthProvider.

DynamicClientRegistrationOptions

Provides configuration options for the ModelContextProtocol.Authentication.ClientOAuthProvider related to dynamic client registration (RFC 7591).

DynamicClientRegistrationResponse

Represents a client registration response for OAuth 2.0 Dynamic Client Registration (RFC 7591).

ProtectedResourceMetadata

Represents the resource metadata for OAuth authorization as defined in RFC 9396. Defined by RFC 9728.

TokenContainer

Represents a cacheable combination of tokens ready to be used for authentication.

Interfaces

ITokenCache

Allows the client to cache access tokens beyond the lifetime of the transport.

Delegates

AuthorizationRedirectDelegate

Represents a method that handles the OAuth authorization URL and returns the authorization code.