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 TypeMethodDescriptionIdentifies the target session.Identifies the target session.Identifies the target session.Identifies the target session.login(SessionGitHubAuthLoginParams params) Internal GitHub login parameters.logout()Identifies the target session.Parameters identifying a GitHub authentication to log out.Identifies the target session.New auth credentials to install on the session.Parameters for switching the session's active authentication.
-
Method Details
-
getStatus
Identifies the target session.- Since:
- 1.0.0
-
setCredentials
@CopilotExperimental public CompletableFuture<SessionGitHubAuthSetCredentialsResult> setCredentials(SessionGitHubAuthSetCredentialsParams params) New auth credentials to install on the session. Omit to leave credentials unchanged.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
getCurrentAuthInfo
Identifies the target session.- Since:
- 1.0.0
-
getAllAuthAvailable
Identifies the target session.- Since:
- 1.0.0
-
refreshCopilotUser
Identifies the target session.- Since:
- 1.0.0
-
login
Internal GitHub login parameters.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
switchToAuth
@CopilotExperimental public CompletableFuture<Void> switchToAuth(SessionGitHubAuthSwitchToAuthParams params) Parameters for switching the session's active authentication.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
logout
Identifies the target session.- Since:
- 1.0.0
-
logoutUser
@CopilotExperimental public CompletableFuture<Void> logoutUser(SessionGitHubAuthLogoutUserParams params) Parameters identifying a GitHub authentication to log out.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
lastAuthErrors
Identifies the target session.- Since:
- 1.0.0
-