feat(core-realtime): IRealtimeAuthenticator interface
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
export interface IRealtimeAuthenticator {
|
||||
authenticate(handshake: {
|
||||
cookies: Record<string, string>;
|
||||
headers: Record<string, string>;
|
||||
}): Promise<{ userId: string; roles: string[] } | null>;
|
||||
}
|
||||
Reference in New Issue
Block a user