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 TypeMethodDescriptionPending MCP OAuth request ID and host-provided token or cancellation response.login(SessionMcpOauthLoginParams params) Remote MCP server name and optional overrides controlling reauthentication, OAuth client display name, callback success-page copy, and static OAuth client selection.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
-
handlePendingRequest
@CopilotExperimental public CompletableFuture<SessionMcpOauthHandlePendingRequestResult> handlePendingRequest(SessionMcpOauthHandlePendingRequestParams params) Pending MCP OAuth request ID and host-provided token or cancellation 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, callback success-page copy, and static OAuth client selection.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-