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

Method removeLogin

wxapp/wps.js:300–309  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

298 }
299
300 removeLogin() {
301 const cache = readCache();
302 if (cache[this.cacheKey]) {
303 delete cache[this.cacheKey].cookie;
304 delete cache[this.cacheKey].secret;
305 writeCache(cache);
306 }
307 this.cookies = {};
308 this.secret = "";
309 }
310
311 loadCache() {
312 const cache = this.getCached();

Callers 1

requestMethod · 0.95

Calls 2

readCacheFunction · 0.70
writeCacheFunction · 0.70

Tested by

no test coverage detected