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

Method loadState

packages/oauth/src/oauth-manager.ts:162–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160 }
161
162 private async loadState(): Promise<TokenState> {
163 return classifyToken(await this.storage.load(this.config.name));
164 }
165
166 private notifyRefresh(outcome: OAuthRefreshOutcome): void {
167 if (this.onRefresh === undefined) return;

Callers 3

hasTokenMethod · 0.95
getCachedAccessTokenMethod · 0.95
doEnsureFreshMethod · 0.95

Calls 2

classifyTokenFunction · 0.90
loadMethod · 0.65

Tested by

no test coverage detected