Skip to main content

Function: randomPKCECodeVerifier()

randomPKCECodeVerifier(): string

Generate a cryptographically random PKCE code verifier (RFC 7636). Returns a base64url-encoded string of 32 random bytes (256 bits of entropy). The caller is responsible for storing this until the callback.

Returns

string