()
| 92 | } |
| 93 | |
| 94 | saveCachedToken() { |
| 95 | if (!this.accessToken) return; |
| 96 | const cache = readTokenCache(); |
| 97 | cache[this.openid] = { |
| 98 | ...this.token, |
| 99 | updatedAt: new Date().toISOString(), |
| 100 | }; |
| 101 | writeTokenCache(cache); |
| 102 | } |
| 103 | |
| 104 | removeCachedToken() { |
| 105 | const cache = readTokenCache(); |
no test coverage detected