feat: implement admin authentication context and update related procedures and tokens

This commit is contained in:
2026-01-03 15:44:27 +00:00
parent e5bd6d89ab
commit 95f263785a
7 changed files with 257 additions and 52 deletions
+9
View File
@@ -0,0 +1,9 @@
import type { GatewaySessionInfo } from './auth/sessionService.js';
import type { UserRecord } from './auth/userRepository.js';
export interface AdminAuthContext {
session: GatewaySessionInfo;
user: UserRecord;
isSuperuser: boolean;
roles: string[];
}