Skip to main content

Function: calculatePKCECodeChallenge()

calculatePKCECodeChallenge(codeVerifier: string): string

Derive the S256 code challenge from a code verifier. Synchronous. Returns a base64url-encoded SHA-256 hash.

Parameters

ParameterType
codeVerifierstring

Returns

string