Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oauth4webapi/mod.ts>calculatePKCECodeChallenge

OAuth 2 / OpenID Connect for JavaScript Runtimes
Go to Latest
function calculatePKCECodeChallenge
import { calculatePKCECodeChallenge } from "https://deno.land/x/oauth4webapi@v2.8.0/mod.ts";

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

Parameters

codeVerifier: string

code_verifier value generated e.g. from generateRandomCodeVerifier.