MCPcopy Create free account
hub / github.com/MatterAIOrg/OrbCode / resolveCode

Method resolveCode

src/mcp/auth.ts:179–181  ·  view source on GitHub ↗

Called by the callback server when the OAuth redirect lands.

(code: string)

Source from the content-addressed store, hash-verified

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> {

Callers 1

authenticateFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected