Expand description
Authentication middleware and token validation
Provides bearer token authentication for MCP endpoints.
Structs§
- Auth
Config - Authentication configuration
- Auth
Middleware - Authentication middleware
- Bearer
Token Validator - Bearer token validator using constant-time comparison
Enums§
- Auth
Mode - Authentication mode
Traits§
- Token
Validator - Token validator trait
Functions§
- generate_
prefixed_ token - Generate a token with a specific prefix for identification
- generate_
token - Generate a secure random token