Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1 KB

calculatePKCECodeChallenge.md

File metadata and controls

25 lines (15 loc) · 1 KB

Function: calculatePKCECodeChallenge()

💗 Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.


calculatePKCECodeChallenge(codeVerifier): Promise<string>

Calculates the PKCE code_challenge value to send with an authorization request using the S256 PKCE Code Challenge Method transformation

Parameters

Parameter Type Description
codeVerifier string code_verifier value generated e.g. from randomPKCECodeVerifier

Returns

Promise<string>

S256 code_challenge value calculated from a provided code_verifier