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

Function createOAuthState

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

Source from the content-addressed store, hash-verified

180/** RFC 6749 `state` — an unguessable correlation token minted by `oauth.start`
181 * and redeemed by `oauth.complete`. */
182export const createOAuthState = (): string => oauth.generateRandomState();
183
184// ---------------------------------------------------------------------------
185// Authorization URL builder

Callers 1

startFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected