Files
core2026/app/gateway-api/src/adminAuth.ts
T

10 lines
269 B
TypeScript

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[];
}