* Verify the current Coder CLI session is authenticated. * Forces a fresh whoami check instead of using cached data.
()
| 581 | * Forces a fresh whoami check instead of using cached data. |
| 582 | */ |
| 583 | async verifyAuthenticatedSession(): Promise<void> { |
| 584 | await this.getWhoamiData({ useCache: false }); |
| 585 | } |
| 586 | |
| 587 | /** |
| 588 | * Clear cached Coder info. Used for testing. |
no test coverage detected