Skip to main content

Asynchronous OAuth 2.0 framework for Python 3.

Project description

Asynchronous OAuth 2.0 framework for Python 3

Build Status codecov License PyPi Python 3.9

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

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aioauth-2.0.1.tar.gz (28.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aioauth-2.0.1-py3-none-any.whl (29.0 kB view details)

Uploaded Python 3

File details

Details for the file aioauth-2.0.1.tar.gz.

File metadata

  • Download URL: aioauth-2.0.1.tar.gz
  • Upload date:
  • Size: 28.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for aioauth-2.0.1.tar.gz
Algorithm Hash digest
SHA256 3168d970566af26938bc5d740e68e9ec2313f89b049991fa05f3e95a7c78baa9
MD5 3429f94785b08d135cc86107a9a2a6f7
BLAKE2b-256 a9ca7def778acb4bd130f6e76e4f7d91d2b7355dc955039eb93c179959ca60b1

See more details on using hashes here.

File details

Details for the file aioauth-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: aioauth-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 29.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for aioauth-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 518199bbe4c54911a707bc5302ce8520bef6976343d42132c4ad51be4a174847
MD5 6f92496654ae7e73473b667b2fa96c1b
BLAKE2b-256 8498a46aee7c89d67ef0cd60d4c6197bf479e038acbd1d082d47c9a5fc5ca2fc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page