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

Method removeCachedToken

wxapp/yingshujufeng.js:121–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119 }
120
121 removeCachedToken() {
122 const cache = readTokenCache();
123 if (cache[this.openid]) {
124 delete cache[this.openid];
125 writeTokenCache(cache);
126 }
127 this.token = "";
128 this.sessionId = "";
129 this.cookie = "";
130 }
131
132 applyToken(data = {}) {
133 this.token = pickToken(data);

Callers 3

runMethod · 0.95
showCheckinPageMethod · 0.95
doCheckinMethod · 0.95

Calls 2

readTokenCacheFunction · 0.70
writeTokenCacheFunction · 0.70

Tested by

no test coverage detected