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