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

Method removeCachedToken

wxapp/yz19.js:118–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 }
117
118 removeCachedToken() {
119 const cache = readTokenCache();
120 if (cache[this.openid]) {
121 delete cache[this.openid];
122 writeTokenCache(cache);
123 }
124 this.token = "";
125 this.sessionId = "";
126 this.cookie = "";
127 }
128
129 applyToken(data = {}) {
130 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