Skip to main content

Module auth

Module auth 

Source

Structs§

InspectorAuth

Functions§

init_inspector_token
Ensures the actor has an inspector token persisted in SQLite and, for now, mirrored in KV so the engine-facing KV API can serve it to the dashboard. Skips writes when the token already exists. No-ops when the _RIVET_TEST_INSPECTOR_TOKEN env override is set, since that takes precedence over any stored token and we do not want to pin a per-actor token that will never be consulted.
set_test_inspector_token_override