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

Method removeCachedToken

wxapp/yz9d.js:114–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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