MCPcopy
hub / github.com/opentrace/opentrace / save_client

Function save_client

agent/src/opentrace_agent/cli/credentials.py:305–307  ·  view source on GitHub ↗

Persist dynamic client registration (unencrypted — not secret).

(client: dict[str, Any])

Source from the content-addressed store, hash-verified

303
304
305def save_client(client: dict[str, Any]) -> None:
306 """Persist dynamic client registration (unencrypted — not secret)."""
307 _write_secure(_base_dir() / "client.json", client)
308
309
310def clear_client() -> bool:

Callers 1

_register_clientFunction · 0.90

Calls 2

_write_secureFunction · 0.85
_base_dirFunction · 0.85

Tested by

no test coverage detected