feat: Passwordless cross-device authentication

- Arkitektur: docs/auth/passwordless-architecture.md
- Backend: iom/quixzoom-auth-service/ (FastAPI + Redis)
- Webb: quixzoom-market-pages/se/login/ (QR-kod + polling)
- App: iom/quixzoom-app/src/features/auth/ (push + deep links)

Flöde: QR-kod → app-godkännande → webb-inloggad
This commit is contained in:
Bernt
2026-07-07 07:11:50 +00:00
parent 4aa984ad74
commit 6989a98d75
61843 changed files with 5491611 additions and 872231 deletions
+26
View File
@@ -0,0 +1,26 @@
import type { CommandParameter } from "./types";
export declare function sanitizeArgs(commandName: string, args: CommandParameter[]): string[];
export interface CommandTraceContext {
command: string;
args: string[];
database: number;
serverAddress: string;
serverPort: number | undefined;
}
export interface BatchOperationContext {
batchMode: "MULTI";
batchSize: number;
database: number;
serverAddress: string;
serverPort: number | undefined;
}
export interface ConnectTraceContext {
serverAddress: string;
serverPort: number | undefined;
connectionEpoch: number;
}
declare type CommandContext = CommandTraceContext;
export declare function traceCommand<T>(fn: () => Promise<T>, contextFactory: () => CommandContext): Promise<T>;
export declare function traceBatch<T>(fn: () => Promise<T>, contextFactory: () => BatchOperationContext): Promise<T>;
export declare function traceConnect<T>(fn: () => Promise<T>, contextFactory: () => ConnectTraceContext): Promise<T>;
export {};