* Remove from any storage the currently authenticated user. * * @returns A promise
()
| 161 | * @returns A promise |
| 162 | */ |
| 163 | public async removeUser(): Promise<void> { |
| 164 | const logger = this._logger.create("removeUser"); |
| 165 | await this.storeUser(null); |
| 166 | logger.info("user removed from storage"); |
| 167 | await this._events.unload(); |
| 168 | } |
| 169 | |
| 170 | /** |
| 171 | * Trigger a redirect of the current window to the authorization endpoint. |
no test coverage detected