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

Method removeCachedToken

wxapp/qiaqia.js:129–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127 }
128
129 removeCachedToken() {
130 const cache = readTokenCache();
131 if (cache[this.openid]) {
132 delete cache[this.openid];
133 writeTokenCache(cache);
134 }
135 this.session = {};
136 }
137
138 async getLoginCode() {
139 const { data } = await wechat.getCode(this.openid);

Callers 2

runMethod · 0.95
doSignMethod · 0.95

Calls 2

readTokenCacheFunction · 0.70
writeTokenCacheFunction · 0.70

Tested by

no test coverage detected