Phase D
Some checks failed
CI / Node — lint, typecheck, test, build (push) Failing after 9s
CI / Go — node-agent tests (push) Failing after 8s
CI / Go — edge-gateway build (push) Successful in 17s

This commit is contained in:
smueller
2026-06-26 14:03:57 +02:00
parent ed8334328e
commit 333ad1cc7d
31 changed files with 964 additions and 15 deletions

View File

@@ -15,11 +15,21 @@ export interface AuthenticatedUser {
roles: UserRole[];
}
export interface SessionImpersonationContext {
isImpersonation: boolean;
source?: string;
externalServiceId?: string | null;
externalClientId?: string | null;
externalUserId?: string | null;
impersonatorLabel?: string;
}
export interface SessionContext {
user: AuthenticatedUser;
sessionId: string;
issuedAt: Date;
expiresAt: Date;
impersonation?: SessionImpersonationContext;
}
export interface AuthTokenPayload {

File diff suppressed because one or more lines are too long