Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
run
Method · 0.95
Calls
1
readTokenCache
Function · 0.70
Tested by
no test coverage detected