MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / createPkceCodeChallenge

Function createPkceCodeChallenge

packages/core/sdk/src/oauth-helpers.ts:177–178  ·  view source on GitHub ↗
(verifier: string)

Source from the content-addressed store, hash-verified

175export const createPkceCodeVerifier = (): string => oauth.generateRandomCodeVerifier();
176
177export const createPkceCodeChallenge = (verifier: string): Promise<string> =>
178 oauth.calculatePKCECodeChallenge(verifier);
179
180/** RFC 6749 `state` — an unguessable correlation token minted by `oauth.start`
181 * and redeemed by `oauth.complete`. */

Callers 3

startFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected