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

Function createOAuthState

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

Source from the content-addressed store, hash-verified

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

Callers 1

startFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected