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

Function createPkceCodeChallenge

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

Source from the content-addressed store, hash-verified

159export const createPkceCodeVerifier = (): string => oauth.generateRandomCodeVerifier();
160
161export const createPkceCodeChallenge = (verifier: string): Promise<string> =>
162 oauth.calculatePKCECodeChallenge(verifier);
163
164/** RFC 6749 `state` — an unguessable correlation token minted by `oauth.start`
165 * and redeemed by `oauth.complete`. */

Callers 3

startFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected