MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / clearZooCodeToken

Function clearZooCodeToken

src/services/zoo-code-auth.ts:152–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150}
151
152export async function clearZooCodeToken(): Promise<void> {
153 if (!secretStorage) return
154 await secretStorage.delete(ZOO_CODE_TOKEN_KEY)
155 _cachedToken = undefined
156 _sessionCleared = true
157}
158
159export function getZooCodeBaseUrl(): string {
160 return process.env.ZOO_CODE_BASE_URL || "https://www.zoocode.dev"

Callers 4

surfaceGatewayApiErrorFunction · 0.90
initZooCodeAuthFunction · 0.85
disconnectZooCodeFunction · 0.85

Calls 1

deleteMethod · 0.65

Tested by

no test coverage detected