Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/smallfawn/QLScriptPublic
/ getCachedToken
Method
getCachedToken
wxapp/qiaqia.js:111–114 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
109
}
110
111
getCachedToken() {
112
const
cache = readTokenCache();
113
return
cache[this.openid] || null;
114
}
115
116
saveCachedToken() {
117
if
(!this.session.sessionId)
return
;
Callers
1
run
Method · 0.95
Calls
1
readTokenCache
Function · 0.70
Tested by
no test coverage detected