Module mcp_auth

Module mcp_auth 

Source
Expand description

MCP Authentication Middleware

This middleware provides comprehensive authentication and authorization for MCP requests, integrating with the AuthenticationManager and permission system.

Structs§

McpAuthConfig
Configuration for MCP authentication middleware
McpAuthContext
Authentication context extracted from request
McpAuthMiddleware
MCP Authentication Middleware
McpRequestContext
Request context that includes authentication and metadata

Enums§

AuthExtractionError
Errors that can occur during authentication extraction

Traits§

McpMiddleware
Trait for middleware that can process MCP requests and responses