MCPcopy Create free account
hub / github.com/OpenDCAI/Paper2Any / api_key.py

File api_key.py

fastapi_app/middleware/api_key.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2API key, quota, and rate-limit middleware for workflow endpoints.
3
4The frontend still sends X-API-Key for browser-to-backend traffic, but this

Callers

nothing calls this directly

Calls 2

RateLimitRuleClass · 0.85
WorkflowGuardClass · 0.85

Tested by

no test coverage detected