Expand description
The served workspace’s API keys (#364): the HTTP layer’s verifier.
The keys live in the workspace (<root>/.<app>/api_keys/, see
sapphire_framework_keys::store_dir), so they sync with it and no bridge is asked.
Structs§
- Import
Report - What an import did.
- Workspace
KeyVerifier - Checks tokens against the keys of the workspace this application serves.
Constants§
- IMPORTED_
MARKER - The marker in the application’s data directory that says this host has imported.
Functions§
- import_
external_ devices - Copy the unretired external devices that may use
app_name, from every workgroup inbridge_dir, into the API keys of the workspace atroot, keeping their ids and hashes; then writeIMPORTED_MARKERintodata_dir. Does nothing when the marker is there.