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
Metadata
Release files for aioauth 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aioauth-2.0.1.tar.gz | 28.5 kB | Without provenance | Details for aioauth-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aioauth-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for aioauth-2.0.1-py3-none-any.whl |
Total release size: 57.5 kB
Release files / aioauth-2.0.1.tar.gz
| Download URL | aioauth-2.0.1.tar.gz |
|---|---|
| Size | 28.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3168d970566af26938bc5d740e68e9ec2313f89b049991fa05f3e95a7c78baa9
|
|
BLAKE2b-256 checksum How to use checksums |
a9ca7def778acb4bd130f6e76e4f7d91d2b7355dc955039eb93c179959ca60b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / aioauth-2.0.1-py3-none-any.whl
| Download URL | aioauth-2.0.1-py3-none-any.whl |
|---|---|
| Size | 29.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
518199bbe4c54911a707bc5302ce8520bef6976343d42132c4ad51be4a174847
|
|
BLAKE2b-256 checksum How to use checksums |
8498a46aee7c89d67ef0cd60d4c6197bf479e038acbd1d082d47c9a5fc5ca2fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for aioauth 2.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.