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

Method getCachedToken

wxapp/dasenlin.js:112–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110 }
111
112 getCachedToken() {
113 const cache = readTokenCache();
114 const item = cache[this.account];
115 return item && item.token ? item : null;
116 }
117
118 saveCachedToken() {
119 if (!this.token) return;

Callers 1

runMethod · 0.95

Calls 1

readTokenCacheFunction · 0.70

Tested by

no test coverage detected