From zeff-claude-setup
Add authentication, authorization, and security to API endpoints
npx claudepluginhub Zeff01/zeff-claude-setup --plugin zeff-claude-setupclaude-sonnet-4-5api/Add comprehensive security, authentication, and authorization to the specified API route. ## Target API Route $ARGUMENTS ## Security Layers to Implement ###1. **Authentication** (Who are you?) - Verify user identity - Token validation (JWT, session, API keys) - Handle expired/invalid tokens ### 2. **Authorization** (What can you do?) - Role-based access control (RBAC) - Resource-level permissions - Check user ownership ### 3. **Input Validation** - Sanitize all inputs - SQL/NoSQL injection prevention - XSS prevention - Type validation with Zod ### 4. **Rate Limiting** - Prevent abuse...
/api-protectAdd authentication, authorization, and security to API endpoints