pycasbin
fastapi-auth-middleware
pycasbin | fastapi-auth-middleware | |
---|---|---|
4 | 1 | |
1,276 | 74 | |
1.3% | - | |
8.0 | 0.0 | |
3 months ago | over 1 year ago | |
Python | Python | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pycasbin
-
GitHub - holinnn/deny: Python authorization library
See also https://github.com/casbin/pycasbin and targe and oso.
- PyCasbin: An authorization library that supports access control models like ACL, RBAC, ABAC in Python
-
Casbin: An authorization library that supports access control models like ACL, RBAC, ABAC in Python
This project exists thanks to all the people who contribute.
fastapi-auth-middleware
-
Using Dependency Injection in SQL Alchemy Model?
You’re looking for a auth middleware and the context variables feature of python. Not exactly dependency injection, more like thread-save global variables. Check out starlettes context middleware: https://starlette-context.readthedocs.io/en/latest/middleware.html and https://docs.python.org/3/library/contextvars.html. You may also have a look at one of my personal projects for inspiration: https://github.com/code-specialist/fastapi-auth-middleware
What are some alternatives?
node-casbin - An authorization library that supports access control models like ACL, RBAC, ABAC in Node.js and Browser
fastapi-oauth2 - Easy to integrate OAuth2 authentication with support for several identity providers.
policy-enforcer - Represent your rego rules programmatically.
fastapi-template - FastAPI template
casbin-cpp - An authorization library that supports access control models like ACL, RBAC, ABAC in C/C++
simple-auth0-fastapi-react-app - A simple application for authentication, authorization and user management based on Auth0. 🐍 Python ⚡ FastAPI + React.
casbin - An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN
sanic-security - An effective, simple, and async security library for the Sanic framework. [Moved to: https://github.com/na-stewart/sanic-security]
lua-casbin - An authorization library that supports access control models like ACL, RBAC, ABAC in Lua (Kong, APISIX, OpenResty)
easyauth - Create a centralized Authentication and Authorization token server. Easily secure FastAPI endpoints based on Users, Groups, Roles or Permissions with very little database usage.
kafka-ease - A library for the easy and automated creation of topics and acls in Kafka.
Python Social - Python Social Auth - Core