Asynchronous OAuth 2.0 framework for Python 3.
Project description
Asynchronous OAuth 2.0 framework for Python 3
aioauth implements OAuth 2.0 protocol and can be used in asynchronous frameworks like FastAPI / Starlette, aiohttp. It can work with any databases like MongoDB, PostgreSQL, MySQL and ORMs like gino, sqlalchemy or databases over simple BaseStorage interface.
Why this project exists?
There are few great OAuth frameworks for Python like oauthlib and authlib, but they do not support asyncio and rewriting these libraries to asyncio is a significant challenge (see issues here and here).
Supported RFCs
- The OAuth 2.0 Authorization Framework
- OAuth 2.0 Token Introspection
- Proof Key for Code Exchange by OAuth Public Clients
- OpenID support
Installation
python -m pip install aioauth
Examples
The project example is located in the examples directory and uses FastAPI as the server.
API Reference and User Guide
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aioauth-2.0.0.tar.gz.
File metadata
- Download URL: aioauth-2.0.0.tar.gz
- Upload date:
- Size: 28.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92e628e778b3dba942da75bbf7bfeebac9ab6349e57c4bd3620c12b29fcbabff
|
|
| MD5 |
ccdb8cdd94bef8d3b08fae1c8cd0964f
|
|
| BLAKE2b-256 |
d60278839a3f67361da88c1ebf1c60ad850806b403713dfe21edd7ed4ec3c070
|
File details
Details for the file aioauth-2.0.0-py3-none-any.whl.
File metadata
- Download URL: aioauth-2.0.0-py3-none-any.whl
- Upload date:
- Size: 29.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13ecf062e86e65c53c03baf1f92444044c92c9fe1cc4b139e6304328f94360f4
|
|
| MD5 |
cc350d4f9acff19cdd21de51ae38d404
|
|
| BLAKE2b-256 |
298749a9c01f8f57f9d1142e2bef36a81bc5d46e32cf07c6bb7963d5bf43b0fe
|