()
| 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(); |
no test coverage detected