MCPcopy Create free account
hub / github.com/arctic-cli/interface / callback

Method callback

packages/sdk/js/src/gen/sdk.gen.ts:890–899  ·  view source on GitHub ↗

* Complete OAuth authentication with authorization code

(options: Options<McpAuthCallbackData, ThrowOnError>)

Source from the content-addressed store, hash-verified

888 * Complete OAuth authentication with authorization code
889 */
890 public callback<ThrowOnError extends boolean = false>(options: Options<McpAuthCallbackData, ThrowOnError>) {
891 return (options.client ?? this._client).post<McpAuthCallbackResponses, McpAuthCallbackErrors, ThrowOnError>({
892 url: "/mcp/{name}/auth/callback",
893 ...options,
894 headers: {
895 "Content-Type": "application/json",
896 ...options.headers,
897 },
898 })
899 }
900
901 /**
902 * Start OAuth flow and wait for callback (opens browser)

Callers 7

handleAntigravityLoginFunction · 0.45
handlePluginAuthFunction · 0.45
handleAlibabaLoginFunction · 0.45
AutoMethodFunction · 0.45
CodeMethodFunction · 0.45
auth.tsFile · 0.45
server.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected