MCPcopy Index your code
hub / github.com/simstudioai/sim / clearVerifier

Function clearVerifier

apps/sim/lib/mcp/oauth/storage.ts:217–222  ·  view source on GitHub ↗
(rowId: string)

Source from the content-addressed store, hash-verified

215}
216
217export async function clearVerifier(rowId: string): Promise<void> {
218 await db
219 .update(mcpServerOauth)
220 .set({ codeVerifier: null, updatedAt: new Date() })
221 .where(eq(mcpServerOauth.id, rowId))
222}
223
224export async function clearState(rowId: string): Promise<void> {
225 await db

Callers 2

invalidateCredentialsMethod · 0.90
route.tsFile · 0.90

Calls 2

setMethod · 0.65
eqFunction · 0.50

Tested by

no test coverage detected