mod_auth_tkt cookie implementation
Modules
auth_tkt.ticket is a Python re-implementation of the mod_auth_tkt
cookie. Cookies can be created with AuthTkt and verified with
verify.
auth_tkt.encrypted's EncryptedAuthTkt is a wrapper around AuthTkt
that stores an encrypted JSON payload in the mod_auth_tkt cookie's
user-data section.
Helpers
There is a get_ticket_data function in auth_tkt.helepers, that
decrypts and verifies a cookie.
Testing
Install development requirements:
pip install -r requirements.txt
Tests can then be run by doing:
python -m pytest
Metadata
Release files for auth-tkt 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| auth_tkt-1.0.0.tar.gz | 8.4 kB | Details |
Release files / auth_tkt-1.0.0.tar.gz
| Download URL | auth_tkt-1.0.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a76bc801add067c168e3afa8617cb875976516011d5596519f9a4594eec34ca
|
|
BLAKE2b-256 checksum How to use checksums |
8fb221aaa6d8b06ca9ea10dd5e45a7838a643c5ce631157d9e66043d410c0617
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
|