Skip to main content

generate_pkce_state

Function generate_pkce_state 

pub fn generate_pkce_state() -> PkceState
Expand description

Generate a new PKCE state with cryptographically random values. Creates a code verifier, derives the S256 code challenge, and generates a random state parameter for CSRF protection.