MCPcopy
hub / github.com/coder/mux / authorizationPendingResponse

Function authorizationPendingResponse

src/node/services/copilotOauthService.test.ts:39–41  ·  view source on GitHub ↗

Polling "not yet" response.

()

Source from the content-addressed store, hash-verified

37
38/** Polling "not yet" response. */
39function authorizationPendingResponse(): Response {
40 return jsonResponse({ error: "authorization_pending" });
41}
42
43/** Models list response from Copilot API. */
44function modelsResponse(models: string[] = ["gpt-5", "claude-sonnet-4"]): Response {

Callers 1

Calls 1

jsonResponseFunction · 0.70

Tested by

no test coverage detected