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

Method removeCachedToken

wxapp/mengxiangjia.js:113–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111 }
112
113 removeCachedToken() {
114 const cache = readTokenCache();
115 if (cache[this.openid]) {
116 delete cache[this.openid];
117 writeTokenCache(cache);
118 }
119 this.loginResult = {};
120 }
121
122 headers(withToken = true) {
123 const headers = {

Callers 2

runMethod · 0.95
signInMethod · 0.95

Calls 2

readTokenCacheFunction · 0.70
writeTokenCacheFunction · 0.70

Tested by

no test coverage detected