PKCE Pyhton generator.
Project description
pkce (Proof Key for Code Exchange)
Simple Python module to generate PKCE code verifier and code challenge.
Installation
pip install pkce
Usage
>>> import pkce >>> code_verifier, code_challenge = pkce.generate_pkce_pair()
>>> import pkce >>> code_verifier = pkce.generate_code_verifier(length=128) >>> code_challenge = pkce.get_code_challenge(code_verifier)
Additional information
Spec for the PKCE protocol can be found here.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size pkce-1.0.3-py3-none-any.whl (3.2 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size pkce-1.0.3.tar.gz (2.8 kB) | File type Source | Python version None | Upload date | Hashes View |