auth.two_factor.challenge.v1
Constant
import { EVENT_NAMES } from "@platform/contracts";
EVENT_NAMES.AUTH_TWO_FACTOR_CHALLENGE_V1;Publishers
Subscribers
No service currently subscribes to this event.
Payload schema
z.object({
user_id: z.string(),
email: z.string().email(),
brand_id: z.string(),
code: z.string().min(4).max(12),
challenge_id: z.string(),
requested_at: z.string().datetime(),
}Delivery semantics
- At-least-once delivery. Consumers must dedupe by event ID.
- Fanned out to both NATS (in-cluster) and EventBridge (durable). See Events concept.