6989a98d75
- 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
17 lines
479 B
JavaScript
17 lines
479 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.ChainCondition = void 0;
|
|
const base_1 = require("../base");
|
|
class ChainCondition {
|
|
constructor(chain) {
|
|
this.chain = chain;
|
|
}
|
|
async run(_context, _value, meta) {
|
|
const result = await this.chain.run(meta.req, { dryRun: true });
|
|
if (!result.isEmpty()) {
|
|
throw new base_1.ValidationHalt();
|
|
}
|
|
}
|
|
}
|
|
exports.ChainCondition = ChainCondition;
|