MCPcopy Index your code
hub / github.com/anomalyco/opencode / stopOAuthServer

Function stopOAuthServer

packages/opencode/src/plugin/snowflake-cortex.ts:229–234  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227}
228
229function stopOAuthServer() {
230 if (!oauthServer) return
231 oauthServer.close()
232 oauthServer = undefined
233 oauthServerPort = undefined
234}
235
236function waitForOAuthCallback(account: string, pkce: PkceCodes, state: string): Promise<TokenResponse> {
237 if (pendingOAuth) {

Callers 2

waitForOAuthCallbackFunction · 0.70
callbackFunction · 0.70

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected