Class ServerAccountApi
java.lang.Object
com.github.copilot.generated.rpc.ServerAccountApi
API methods for the
account namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionList of all authenticated usersCurrent authentication stategetQuota()Optional opaque account selection or compatibility GitHub token used to look up quota.getQuota(AccountGetQuotaParams params) Optional opaque account selection or compatibility GitHub token used to look up quota.login(AccountLoginParams params) Credentials to validate and store.logout(AccountLogoutParams params) User to log out
-
Method Details
-
getQuota
Optional opaque account selection or compatibility GitHub token used to look up quota.Invokes the method with no params, applying the runtime defaults.
- Since:
- 1.0.0
-
getQuota
@CopilotExperimental public CompletableFuture<AccountGetQuotaResult> getQuota(AccountGetQuotaParams params) Optional opaque account selection or compatibility GitHub token used to look up quota.- Since:
- 1.0.0
-
getCurrentAuth
Current authentication state- Since:
- 1.0.0
-
getAllUsers
List of all authenticated users- Since:
- 1.0.0
-
login
Credentials to validate and store. Omit login to resolve the authenticated user from the token.- Since:
- 1.0.0
-
logout
@CopilotExperimental public CompletableFuture<AccountLogoutResult> logout(AccountLogoutParams params) User to log out- Since:
- 1.0.0
-