-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Python FastAPI #5
Comments
+1 please ;) |
Hey @ocervell, I opened a PR with basic FastAPI support: #17. Would you mind taking a look? FastAPI takes a different approach to authentication compared to some other Python frameworks like Flask. Flask apps typically use Python decorators to specify authn/authz information. FastAPI uses function arguments as a kind of dependency injection for authn. As a first pass, I considered authn arguments shown in these examples:
Let me know if this works for you, if there are different authn arguments you think should be specified, or if you think there's a better approach altogether. |
https://fastapi.tiangolo.com/
The text was updated successfully, but these errors were encountered: