Class SessionMcpOauthApi
java.lang.Object
com.github.copilot.generated.rpc.SessionMcpOauthApi
API methods for the
mcp.oauth namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionlogin(SessionMcpOauthLoginParams params) Remote MCP server name and optional overrides controlling reauthentication, OAuth client display name, and the callback success-page copy.respond(SessionMcpOauthRespondParams params) MCP OAuth request id and optional provider response.
-
Method Details
-
respond
MCP OAuth request id and optional provider response.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
login
@CopilotExperimental public CompletableFuture<SessionMcpOauthLoginResult> login(SessionMcpOauthLoginParams params) Remote MCP server name and optional overrides controlling reauthentication, OAuth client display name, and the callback success-page copy.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-