Class SessionGitHubAuthApi
java.lang.Object
com.github.copilot.generated.rpc.SessionGitHubAuthApi
API methods for the
gitHubAuth namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionGets authentication status and account metadata for the session.Updates the session's auth credentials used for outbound model and API requests.
-
Method Details
-
getStatus
Gets authentication status and account metadata for the session.- Since:
- 1.0.0
-
setCredentials
@CopilotExperimental public CompletableFuture<SessionGitHubAuthSetCredentialsResult> setCredentials(SessionGitHubAuthSetCredentialsParams params) Updates the session's auth credentials used for outbound model and API requests.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-