Skip to main content

Module pkce

Module pkce 

Source
Expand description

PKCE (Proof Key for Code Exchange) utilities for OAuth 2.0.

Implements RFC 7636 for secure OAuth flows without client secrets. Uses SHA-256 (S256) code challenge method as recommended by the spec.

Structs§

PkceChallenge
PKCE challenge pair containing verifier and challenge strings.

Functions§

generate_pkce_challenge
Generate a cryptographically secure PKCE challenge pair.