Skip to main content

Module client

Module client 

Source
Expand description

OAuth 2.1 Authorization Client

Module provides the main authorization client for MCP, handling the full OAuth 2.1 flow including discovery, registration, and token management

Structs§

AuthorizationClient
OAuth 2.1 Authorization Client for MCP

Functions§

add_auth_header
Helper to add authorization header to HTTP requests
extract_bearer_token
Extract bearer token from Authorization header