Something went wrong. Try again.
Something went wrong. Try again.
12345678import type { BrowserPrincipal } from '@/security/store.js';
/** Authentication identity attached to daemon HTTP and WebSocket connections. */export type AuthContext = | { kind: 'local' } | { kind: 'browser'; principal: BrowserPrincipal; credential: string; sessionId: string } | { kind: 'bearer'; principal: BrowserPrincipal; credential: string; sessionId: string };