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

Function okAuth

packages/oauth/test/oauth-manager.test.ts:589–598  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

587
588describe('OAuthManager.login', () => {
589 function okAuth(): DeviceAuthorization {
590 return {
591 userCode: 'WDJB-MJHT',
592 deviceCode: 'dev123',
593 verificationUri: 'https://auth/verify',
594 verificationUriComplete: 'https://auth/verify?user_code=WDJB-MJHT',
595 expiresIn: 600,
596 interval: 5,
597 };
598 }
599
600 it('drives device flow to success and persists token', async () => {
601 const storage = new InMemoryStorage();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected