MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / _workspace_cookie

Function _workspace_cookie

tests/test_registration_engine.py:160–164  ·  view source on GitHub ↗
(workspace_id)

Source from the content-addressed store, hash-verified

158
159
160def _workspace_cookie(workspace_id):
161 payload = base64.urlsafe_b64encode(
162 json.dumps({"workspaces": [{"id": workspace_id}]}).encode("utf-8")
163 ).decode("ascii").rstrip("=")
164 return f"{payload}.sig"
165
166
167def _response_with_did(did):

Callers 1

setterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected