Expand description
Shared authentication logic for all protocol adapters.
This module is the single source of truth for API key validation and permission checking. Every adapter (HTTP, WebSocket, gRPC, MCP) must use these functions instead of rolling their own validation.
Enums§
- Auth
Result - Result of an authentication check.
Functions§
- check_
auth - Validate an API key against the configured keys with permission checking.
- extract_
bearer_ from_ value - Extract a bearer token from an “Authorization” header value string.
- find_
key_ ct - Constant-time
findover an api-key list (Issue 62).