()
| 194 | } |
| 195 | |
| 196 | async ensureLogin() { |
| 197 | if (!this.token) this.token = this.getCached().token || ""; |
| 198 | if (this.token) return; |
| 199 | await this.login(); |
| 200 | } |
| 201 | |
| 202 | async requestWithRelogin(method, urlPath, options = {}) { |
| 203 | await this.ensureLogin(); |
no test coverage detected