| """ | |
| Enterprise Authentication and Authorization Module for MCP Servers | |
| Provides: | |
| - API key authentication | |
| - Request signing | |
| - Rate limiting | |
| - RBAC (Role-Based Access Control) | |
| """ | |
| from .api_key_auth import ( | |
| APIKey, | |
| APIKeyManager, | |
| APIKeyAuthMiddleware, | |
| RequestSigningAuth, | |
| get_key_manager | |
| ) | |
| from .rate_limiter import ( | |
| TokenBucket, | |
| RateLimiter, | |
| RateLimitMiddleware, | |
| RedisRateLimiter, | |
| get_rate_limiter | |
| ) | |
| __all__ = [ | |
| # API Key Auth | |
| 'APIKey', | |
| 'APIKeyManager', | |
| 'APIKeyAuthMiddleware', | |
| 'RequestSigningAuth', | |
| 'get_key_manager', | |
| # Rate Limiting | |
| 'TokenBucket', | |
| 'RateLimiter', | |
| 'RateLimitMiddleware', | |
| 'RedisRateLimiter', | |
| 'get_rate_limiter', | |
| ] | |