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

Function createOAuthState

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

Source from the content-addressed store, hash-verified

190/** RFC 6749 `state` — an unguessable correlation token minted by `oauth.start`
191 * and redeemed by `oauth.complete`. */
192export const createOAuthState = (): string => oauth.generateRandomState();
193
194// ---------------------------------------------------------------------------
195// Authorization URL builder

Callers 1

startFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected