Portier authentication asyncio-aware Python helpers.
Project description
asyncio-portier is a set of helpers for the Portier Identity Provider. It is based on the portier-python package but modified to work with
asyncio
.
Usage
The helpers work in much the same way as the ones in portier-python. Check the demos directory for usage examples.
Notes
portier-python doesn’t seem to work quite right with Redis as the cache backend, so there are a few Redis-specific modifications. This may change in the future.
I expected the calls to cryptographic libraries to be blocking, but I saw no improvement from running those calls in an
Executor
as per https://docs.python.org/3/library/asyncio-eventloop.html#executor.
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
File details
Details for the file asyncio-portier-0.3.0.tar.gz
.
File metadata
- Download URL: asyncio-portier-0.3.0.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a19b60fe4b2358d6b18c0e0656179b8453c3f355526103c8d3abb09984ddc185 |
|
MD5 | 50d81c6d168b41723b5aad16d5e47de3 |
|
BLAKE2b-256 | 16f8a808e52edb5d6b796974cebe04b16c45850aa24d59592198c6268a987b7f |
File details
Details for the file asyncio_portier-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: asyncio_portier-0.3.0-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 125b3349e161cbb25ee103808419f6821a711bd13ce518e5fe05abe5c3ceceed |
|
MD5 | 35491e2e51e0127b7395328b7fb589fb |
|
BLAKE2b-256 | 99bc550caed5066b9e6031740b426851b3f39523dbeee4d7281abc889654e557 |