Skip to main content

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


Release history Release notifications

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pkce, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size pkce-1.0.tar.gz (1.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page