https://github.com/kludex/fastapi-authorization
Opinionated authorization package for FastAPI! :tada:
https://github.com/kludex/fastapi-authorization
Last synced: 6 months ago
JSON representation
Opinionated authorization package for FastAPI! :tada:
- Host: GitHub
- URL: https://github.com/kludex/fastapi-authorization
- Owner: Kludex
- License: mit
- Created: 2021-11-30T20:18:49.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-14T19:06:43.000Z (over 3 years ago)
- Last Synced: 2024-12-08T16:17:46.491Z (10 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 21
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FastAPI Authorization
### Installation
```bash
pip install fastapi-authorization
```### Usage
Currently, there are two models available:
* RBAC: Role-based Access Control
* ABAC: Attribute-based Access ControlYou can check how to use them on:
* [RBAC](./examples/rbac/app/main.py)
* [ABAC](./examples/abac/app/main.py)### Roadmap
* [ ] 100% Coverage
* [ ] Documentation
* [ ] Examples### License
This project is under the MIT license.