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 GitHub token used to look up quota for a specific user instead of the global auth context.login(AccountLoginParams params) Credentials to store after successful authenticationlogout(AccountLogoutParams params) User to log out
-
Method Details
-
getQuota
Optional GitHub token used to look up quota for a specific user instead of the global auth context.- 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 store after successful authentication- Since:
- 1.0.0
-
logout
@CopilotExperimental public CompletableFuture<AccountLogoutResult> logout(AccountLogoutParams params) User to log out- Since:
- 1.0.0
-