Expand description
OAuth 2.1 Authorization Support for MCP Protocol
Module implements the authorization flow for HTTP-based MCP transports as specified in the MCP Authorization specification (draft).
The implementation follows OAuth 2.1, OAuth 2.0 Authorization Server Metadata, Dynamic Client Registration, and Protected Resource Metadata specifications.
Re-exports§
pub use client::*;pub use discovery::*;pub use errors::*;pub use pkce::*;pub use token::*;pub use types::*;
Modules§
- client
- OAuth 2.1 Authorization Client
- discovery
- Authorization Server Discovery
- errors
- Authorization Error Types
- pkce
- PKCE (Proof Key for Code Exchange) Implementation
- token
- Token Management and Refresh
- types
- OAuth 2.1 Types and Data Structures
Structs§
- Auth
Config - Authorization configuration for MCP