()
| 102 | } |
| 103 | |
| 104 | removeCachedToken() { |
| 105 | const cache = readTokenCache(); |
| 106 | if (cache[this.openid]) { |
| 107 | delete cache[this.openid]; |
| 108 | writeTokenCache(cache); |
| 109 | } |
| 110 | this.authorization = ""; |
| 111 | this.refreshToken = ""; |
| 112 | } |
| 113 | |
| 114 | applyToken(data = {}) { |
| 115 | const accessToken = data.accessToken || data.access_token || ""; |
no test coverage detected