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

Function resolveKimiCodeOAuthRef

packages/oauth/src/managed-kimi-code.ts:338–346  ·  view source on GitHub ↗
(options: {
  readonly oauthHost?: string | undefined;
  readonly baseUrl?: string | undefined;
})

Source from the content-addressed store, hash-verified

336 * scoping is meant to fix.
337 */
338export function resolveKimiCodeOAuthRef(options: {
339 readonly oauthHost?: string | undefined;
340 readonly baseUrl?: string | undefined;
341}): ManagedKimiOAuthRef {
342 return managedOAuthRef({
343 key: resolveKimiCodeOAuthKey(options),
344 oauthHost: options.oauthHost,
345 });
346}
347
348export function resolveKimiCodeRuntimeAuth(options: {
349 readonly configuredBaseUrl?: string | undefined;

Callers 5

constructorMethod · 0.85

Calls 2

managedOAuthRefFunction · 0.85
resolveKimiCodeOAuthKeyFunction · 0.85

Tested by

no test coverage detected