Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/smallfawn/QLScriptPublic
/ getCachedToken
Method
getCachedToken
wxapp/campari.js:96–99 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
94
}
95
96
getCachedToken() {
97
const
cache = readTokenCache();
98
return
cache[this.openid] || null;
99
}
100
101
saveCachedToken() {
102
if
(!this.session.token)
return
;
Callers
1
run
Method · 0.95
Calls
1
readTokenCache
Function · 0.70
Tested by
no test coverage detected