()
| 267 | } |
| 268 | |
| 269 | removeCachedToken() { |
| 270 | const cache = readTokenCache(); |
| 271 | delete cache[this.cacheKey()]; |
| 272 | writeTokenCache(cache); |
| 273 | this.token = ""; |
| 274 | } |
| 275 | |
| 276 | applyToken(data = {}) { |
| 277 | this.token = data.token || data.Token || ""; |
no test coverage detected