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

Method getCachedAccessToken

packages/node-sdk/src/auth.ts:250–258  ·  view source on GitHub ↗
(
    providerName?: string,
    oauthRef?: OAuthRef | undefined,
  )

Source from the content-addressed store, hash-verified

248 }
249
250 async getCachedAccessToken(
251 providerName?: string,
252 oauthRef?: OAuthRef | undefined,
253 ): Promise<string | undefined> {
254 return this.toolkit.getCachedAccessToken(
255 providerName,
256 this.runtimeOAuthRef(providerName, oauthRef),
257 );
258 }
259
260 readonly resolveOAuthTokenProvider = (
261 providerName: string,

Callers 1

Calls 2

runtimeOAuthRefMethod · 0.95
getCachedAccessTokenMethod · 0.65

Tested by

no test coverage detected