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

Method get_current_auth

python/copilot/generated/rpc.py:25118–25120  ·  view source on GitHub ↗

Gets the currently active authentication credentials from the global auth manager.\n\nReturns:\n Current authentication state

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

Source from the content-addressed store, hash-verified

25116 return AccountGetQuotaResult.from_dict(await self._client.request("account.getQuota", params_dict, **_timeout_kwargs(timeout)))
25117
25118 async def get_current_auth(self, *, timeout: float | None = None) -> AccountGetCurrentAuthResult:
25119 "Gets the currently active authentication credentials from the global auth manager.\n\nReturns:\n Current authentication state"
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"

Callers

nothing calls this directly

Calls 3

_timeout_kwargsFunction · 0.85
from_dictMethod · 0.45
requestMethod · 0.45

Tested by

no test coverage detected