Skip to main content

Module pkce

Module pkce 

Source
Expand description

PKCE (Proof Key for Code Exchange) Implementation

Module implements PKCE as defined in RFC 7636 for OAuth 2.1. PKCE is mandatory for MCP authorization to prevent authorization code interception attacks

Structs§

PkceParams
PKCE parameters for authorization flow

Enums§

CodeChallengeMethod
PKCE code challenge methods

Functions§

check_pkce_support
Check if the authorization server supports PKCE
select_challenge_method
Select the best available PKCE method from server metadata
supports_s256
Check if the authorization server supports S256 method