MCPcopy Index your code
hub / github.com/codeaashu/claude-code / handleManualAuthCodeInput

Method handleManualAuthCodeInput

src/services/oauth/index.ts:157–167  ·  view source on GitHub ↗
(params: {
    authorizationCode: string
    state: string
  })

Source from the content-addressed store, hash-verified

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,

Callers 3

handleSubmitCodeFunction · 0.80
handleSubmitCodeFunction · 0.80
runHeadlessStreamingFunction · 0.80

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected