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