Getting Started
- Install the package:
pip install python-json-rbac - Add a
.envfile:JWT_SECRET=your_super_secret_key
JWT_ALGORITHM=HS256
JWT_EXPIRE_MINUTES=30 - Create a FastAPI app and secure endpoints with RBAC decorators.
See Configuration for all options.