(params: {
authorizationCode: string
state: string
})
| 155 | |
| 156 | // Handle manual flow callback when user pastes the auth code |
| 157 | handleManualAuthCodeInput(params: { |
| 158 | authorizationCode: string |
| 159 | state: string |
| 160 | }): void { |
| 161 | if (this.manualAuthCodeResolver) { |
| 162 | this.manualAuthCodeResolver(params.authorizationCode) |
| 163 | this.manualAuthCodeResolver = null |
| 164 | // Close the auth code listener since manual input was used |
| 165 | this.authCodeListener?.close() |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | private formatTokens( |
| 170 | response: OAuthTokenExchangeResponse, |
no test coverage detected