MCPcopy Index your code
hub / github.com/github/copilot-sdk / get_all_users

Method get_all_users

python/copilot/generated/rpc.py:25122–25124  ·  view source on GitHub ↗

Gets all authenticated users available for account switching.\n\nReturns:\n List of all authenticated users

(self, *, timeout: float | None = None)

Source from the content-addressed store, hash-verified

25120 return AccountGetCurrentAuthResult.from_dict(await self._client.request("account.getCurrentAuth", {}, **_timeout_kwargs(timeout)))
25121
25122 async def get_all_users(self, *, timeout: float | None = None) -> list:
25123 "Gets all authenticated users available for account switching.\n\nReturns:\n List of all authenticated users"
25124 return list(await self._client.request("account.getAllUsers", {}, **_timeout_kwargs(timeout)))
25125
25126 async def login(self, params: AccountLoginRequest, *, timeout: float | None = None) -> AccountLoginResult:
25127 "Stores authentication credentials after successful login (e.g., device code flow).\n\nArgs:\n params: Credentials to store after successful authentication\n\nReturns:\n Result of a successful login; throws on failure"

Callers

nothing calls this directly

Calls 2

_timeout_kwargsFunction · 0.85
requestMethod · 0.45

Tested by

no test coverage detected