* Complete OAuth authentication with authorization code
(options: Options<McpAuthCallbackData, ThrowOnError>)
| 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) |
no outgoing calls
no test coverage detected