(data = {})
| 142 | } |
| 143 | |
| 144 | applyToken(data = {}) { |
| 145 | this.accessToken = data.accessToken || data.access_token || ""; |
| 146 | this.authorization = normalizeAuthorization(data.authorization || this.accessToken); |
| 147 | this.userInfo = { ...this.userInfo, ...data }; |
| 148 | } |
| 149 | |
| 150 | headers(extra = {}) { |
| 151 | const headers = { |
no test coverage detected