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.0.tar.gz (28.4 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.0-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

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

Hashes for aioauth-2.0.0.tar.gz
Algorithm Hash digest
SHA256 92e628e778b3dba942da75bbf7bfeebac9ab6349e57c4bd3620c12b29fcbabff
MD5 ccdb8cdd94bef8d3b08fae1c8cd0964f
BLAKE2b-256 d60278839a3f67361da88c1ebf1c60ad850806b403713dfe21edd7ed4ec3c070

See more details on using hashes here.

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

Hashes for aioauth-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13ecf062e86e65c53c03baf1f92444044c92c9fe1cc4b139e6304328f94360f4
MD5 cc350d4f9acff19cdd21de51ae38d404
BLAKE2b-256 298749a9c01f8f57f9d1142e2bef36a81bc5d46e32cf07c6bb7963d5bf43b0fe

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