MCPcopy Create free account
hub / github.com/mlco2/codecarbon / get_id_token

Function get_id_token

codecarbon/cli/auth.py:229–232  ·  view source on GitHub ↗

Return the stored OIDC id_token.

()

Source from the content-addressed store, hash-verified

227
228
229def get_id_token() -> str:
230 """Return the stored OIDC id_token."""
231 creds = _load_credentials()
232 return creds["id_token"]

Callers

nothing calls this directly

Calls 1

_load_credentialsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…