<?php

declare(strict_types=1);

namespace apexl\Io\modules\user\Dtos;

use apexl\dto\Dto;

/**
 * The data returned from a setup request so the frontend can render the
 * enrolment screen: the `otpauth://` provisioning URI, a scannable QR image
 * (data URI), and the manual-entry secret for screens that can't scan.
 */
final readonly class TwoFactorSetupDto extends Dto
{
    public function __construct(
        public string $methodId,
        public string $type,
        public string $secret,
        public string $provisioningUri,
        public string $qrCodeDataUri,
    ) {}
}
