feat(core-realtime): IRealtimeAuthenticator interface

This commit is contained in:
2026-05-08 21:12:56 +02:00
parent caf86abbe5
commit 691b4942d5

View File

@@ -0,0 +1,6 @@
export interface IRealtimeAuthenticator {
authenticate(handshake: {
cookies: Record<string, string>;
headers: Record<string, string>;
}): Promise<{ userId: string; roles: string[] } | null>;
}