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

Function createPkceCodeChallenge

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

Source from the content-addressed store, hash-verified

105export const createPkceCodeVerifier = (): string => oauth.generateRandomCodeVerifier();
106
107export const createPkceCodeChallenge = (verifier: string): Promise<string> =>
108 oauth.calculatePKCECodeChallenge(verifier);
109
110/** RFC 6749 `state` — an unguessable correlation token minted by `oauth.start`
111 * and redeemed by `oauth.complete`. */

Callers 3

startFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected