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

Function createOAuthState

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

Source from the content-addressed store, hash-verified

111/** RFC 6749 `state` — an unguessable correlation token minted by `oauth.start`
112 * and redeemed by `oauth.complete`. */
113export const createOAuthState = (): string => oauth.generateRandomState();
114
115// ---------------------------------------------------------------------------
116// Authorization URL builder

Callers 1

startFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected