MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / getCachedToken

Method getCachedToken

wxapp/mfd.js:120–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118 }
119
120 getCachedToken() {
121 const cache = readTokenCache();
122 const item = cache[this.account];
123 if (!item || !item.memberId) return null;
124 return item;
125 }
126
127 saveCachedToken() {
128 if (!this.memberId) return;

Callers 1

runMethod · 0.95

Calls 1

readTokenCacheFunction · 0.70

Tested by

no test coverage detected