(token: string)
| 65 | return this.loadSchema(); |
| 66 | } |
| 67 | async setApiToken(token: string) { |
| 68 | this._currentSchema.headers.authorization = `Bearer ${token}`; |
| 69 | localStorage.setItem(localStorageKey, token); |
| 70 | } |
| 71 | logout() { |
| 72 | this._currentSchema.headers.authorization = undefined; |
| 73 | localStorage.removeItem(localStorageKey); |
no outgoing calls
no test coverage detected