MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / removeCachedToken

Method removeCachedToken

wxapp/fsdlb.js:131–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129 }
130
131 removeCachedToken() {
132 const cache = readTokenCache();
133 if (cache[this.openid]) {
134 delete cache[this.openid];
135 writeTokenCache(cache);
136 }
137 this.token = "";
138 this.userInfo = {};
139 }
140
141 applyToken(data = {}) {
142 this.token = pickToken(data);

Callers 3

runMethod · 0.95
signInMethod · 0.95
infoMethod · 0.95

Calls 2

readTokenCacheFunction · 0.70
writeTokenCacheFunction · 0.70

Tested by

no test coverage detected