Skip to main content

mod_auth_tkt cookie implementation

Build Status

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)

Source distribution for auth-tkt 1.0.0
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

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.1

2 release files

0.2.0

1 release file

0.1.0

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page