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

Method removeCachedToken

wxapp/bluedash.js:104–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102 }
103
104 removeCachedToken() {
105 const cache = readTokenCache();
106 if (cache[this.openid]) {
107 delete cache[this.openid];
108 writeTokenCache(cache);
109 }
110 this.authorization = "";
111 this.refreshToken = "";
112 }
113
114 applyToken(data = {}) {
115 const accessToken = data.accessToken || data.access_token || "";

Callers 3

runMethod · 0.95
getSignListMethod · 0.95
doSignMethod · 0.95

Calls 2

readTokenCacheFunction · 0.70
writeTokenCacheFunction · 0.70

Tested by

no test coverage detected