Luca Sacchi Ricciardi 5e89674b94 feat(tokens): T41-T43 implement API token management endpoints
- Add max_api_tokens_per_user config (default 5)
- Implement POST /api/tokens (T41): generate token with limit check
- Implement GET /api/tokens (T42): list active tokens, no values exposed
- Implement DELETE /api/tokens/{id} (T43): soft delete with ownership check
- Security: plaintext token shown ONLY at creation
- Security: SHA-256 hash stored in DB, never the plaintext
- Security: revoked tokens return 401 on public API
- 24 tests with 100% coverage on tokens router

Closes T41, T42, T43
2026-04-07 16:58:57 +02:00
2026-04-07 08:53:55 +02:00
2026-04-07 08:53:55 +02:00

openrouter-watcher

Applicazione per monitorare l'uso delle api keys di attive in openrouter

Description
Applicazione per monitorare l'uso delle api keys di attive in openrouter
Readme MIT 296 KiB
Languages
Python 94.3%
HTML 4.7%
Dockerfile 0.3%
JavaScript 0.3%
CSS 0.3%
Other 0.1%