Called by the callback server when the OAuth redirect lands.
(code: string)
| 177 | |
| 178 | /** Called by the callback server when the OAuth redirect lands. */ |
| 179 | resolveCode(code: string): void { |
| 180 | this.codeResolve?.(code) |
| 181 | } |
| 182 | |
| 183 | /** Await the authorization code from the browser redirect or a manual paste. */ |
| 184 | waitForCode(): Promise<string> { |