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

Method removeCachedToken

wxapp/kangshifu.js:130–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128 }
129
130 removeCachedToken() {
131 const cache = readTokenCache();
132 if (cache[this.openid]) {
133 delete cache[this.openid];
134 writeTokenCache(cache);
135 }
136 this.token = "";
137 this.member = {};
138 }
139
140 headers(extra = {}) {
141 const headers = {

Callers 3

runMethod · 0.95
memberInfoMethod · 0.95
signInMethod · 0.95

Calls 2

readTokenCacheFunction · 0.70
writeTokenCacheFunction · 0.70

Tested by

no test coverage detected