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

Method removeCachedToken

wxapp/zbs.js:124–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122 }
123
124 removeCachedToken() {
125 const cache = readTokenCache();
126 if (cache[this.openid]) {
127 delete cache[this.openid];
128 writeTokenCache(cache);
129 }
130 this.token = "";
131 this.userInfo = {};
132 }
133
134 headers(extra = {}) {
135 const headers = {

Callers 3

runMethod · 0.95
getPointsMethod · 0.95
signInMethod · 0.95

Calls 2

readTokenCacheFunction · 0.70
writeTokenCacheFunction · 0.70

Tested by

no test coverage detected