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

Method defaultOAuthKey

packages/oauth/src/toolkit.ts:404–412  ·  view source on GitHub ↗
(
    baseUrl?: string | undefined,
    oauthHost?: string | undefined,
  )

Source from the content-addressed store, hash-verified

402 }
403
404 private defaultOAuthKey(
405 baseUrl?: string | undefined,
406 oauthHost?: string | undefined,
407 ): string {
408 return resolveKimiCodeOAuthKey({
409 oauthHost: oauthHost ?? this.flowConfig.oauthHost,
410 baseUrl,
411 });
412 }
413
414 private defaultOAuthRef(baseUrl?: string | undefined): KimiOAuthTokenRef {
415 return {

Callers 7

statusMethod · 0.95
loginMethod · 0.95
logoutMethod · 0.95
ensureFreshMethod · 0.95
getCachedAccessTokenMethod · 0.95
tokenProviderMethod · 0.95
defaultOAuthRefMethod · 0.95

Calls 1

resolveKimiCodeOAuthKeyFunction · 0.90

Tested by

no test coverage detected