MCPcopy
hub / github.com/simstudioai/sim / state

Method state

apps/sim/lib/mcp/oauth/provider.ts:78–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 }
77
78 async state(): Promise<string> {
79 const state = generateId()
80 await saveState(this.row.id, state)
81 return state
82 }
83
84 clientInformation(): OAuthClientInformationMixed | undefined {
85 if (this.row.clientInformation) return this.row.clientInformation

Callers 7

store.tsFile · 0.80
store.test.tsFile · 0.80
WorkflowSidebarBodyFunction · 0.80
useWorkflowStateFunction · 0.80
useWorkflowStatesFunction · 0.80
useRevertToVersionFunction · 0.80

Calls 2

generateIdFunction · 0.90
saveStateFunction · 0.90

Tested by

no test coverage detected