MCPcopy Create free account
hub / github.com/arctic-cli/interface / updateCodeVerifier

Function updateCodeVerifier

packages/arctic/src/mcp/auth.ts:69–73  ·  view source on GitHub ↗
(mcpName: string, codeVerifier: string)

Source from the content-addressed store, hash-verified

67 }
68
69 export async function updateCodeVerifier(mcpName: string, codeVerifier: string): Promise<void> {
70 const entry = (await get(mcpName)) ?? {}
71 entry.codeVerifier = codeVerifier
72 await set(mcpName, entry)
73 }
74
75 export async function clearCodeVerifier(mcpName: string): Promise<void> {
76 const entry = await get(mcpName)

Callers

nothing calls this directly

Calls 2

getFunction · 0.70
setFunction · 0.70

Tested by

no test coverage detected