MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / resolveAuth

Function resolveAuth

packages/node-sdk/test/kimi-code-model-provider.test.ts:30–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 });
29
30 function resolveAuth() {
31 const provider = new KimiForCodingProvider({ homeDir, ...TEST_IDENTITY });
32 return provider.resolveAuth('kimi-for-coding');
33 }
34
35 it('maps unauthorized token failures to auth.login_required', async () => {
36 vi.spyOn(KimiOAuthToolkit.prototype, 'ensureFresh').mockRejectedValue(

Callers 3

chatFunction · 0.85
startLoginMethod · 0.85

Calls 1

resolveAuthMethod · 0.95

Tested by

no test coverage detected