feat: implement admin authentication context and update related procedures and tokens
This commit is contained in:
@@ -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[];
|
||||
}
|
||||
Reference in New Issue
Block a user