MCPcopy
hub / github.com/MiniMax-AI/cli / clearCredentials

Function clearCredentials

src/auth/credentials.ts:21–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19}
20
21export async function clearCredentials(): Promise<void> {
22 const existing = readConfigFile() as Record<string, unknown>;
23 if (!('oauth' in existing)) return;
24 delete existing.oauth;
25 await writeConfigFile(existing);
26}

Callers 2

runFunction · 0.90

Calls 2

readConfigFileFunction · 0.90
writeConfigFileFunction · 0.90

Tested by

no test coverage detected