feat: add persistent API token lifecycle

This commit is contained in:
Sergey Antropoff
2026-07-13 01:35:01 +03:00
parent 8471bcdbac
commit 5934c567b5
10 changed files with 311 additions and 9 deletions
+1
View File
@@ -25,6 +25,7 @@ class FakePool:
"name": principal,
"secret_hash": self.secret_hash,
"privileges": self.token_privileges,
"privilege_separation": True,
}
async def fetch(self, _query: str, principal: str) -> list[dict[str, Any]]: