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

Function createPkceCodeChallenge

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

Source from the content-addressed store, hash-verified

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

Callers 3

startFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected