()
| 227 | } |
| 228 | |
| 229 | function stopOAuthServer() { |
| 230 | if (!oauthServer) return |
| 231 | oauthServer.close() |
| 232 | oauthServer = undefined |
| 233 | oauthServerPort = undefined |
| 234 | } |
| 235 | |
| 236 | function waitForOAuthCallback(account: string, pkce: PkceCodes, state: string): Promise<TokenResponse> { |
| 237 | if (pendingOAuth) { |
no test coverage detected