Files
app-agent/.ai/rules/middleware.md
T
2026-08-24 19:44:24 +03:30

10 lines
353 B
Markdown

---
paths:
- 'routes/api.php,app/Http/Controllers/Api/**,app/Http/Middleware/**'
---
# Middleware
## Separate client and management API credentials
Every app route requires X-App-Key. Refunds, subscription cancellation, review replies, and all publishing operations must also require X-Management-Key; never weaken these routes for Android clients.