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
+16
View File
@@ -0,0 +1,16 @@
import type { WorkloadIdentity } from "./types.js";
import type { Fetch } from "../internal/builtin-types.js";
export declare class WorkloadIdentityAuth {
private cachedToken;
private refreshPromise;
private readonly config;
private readonly tokenExchangeUrl;
private readonly fetch;
constructor(config: WorkloadIdentity, fetch?: Fetch);
getToken(): Promise<string>;
private refreshToken;
private isTokenExpired;
private needsRefresh;
invalidateToken(): void;
}
//# sourceMappingURL=workload-identity-auth.d.ts.map