entitlement_middleware
Generate middleware that enforces feature entitlements per subscription plan, blocking unauthorized access with configurable deny actions.
Instructions
Create middleware that enforces feature entitlements based on the user's subscription plan
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plans | Yes | ||
| api_key | No | API key for authentication | |
| framework | No | nextjs | |
| deny_action | No | 403 |