Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

461 B
Raw Blame
<?php

namespace HiEvents\Services\Domain\Auth\TwoFactor\DTO;

use HiEvents\DataTransferObjects\BaseDataObject;
use HiEvents\Services\Domain\Auth\Sso\DTO\AuthContext;

class TwoFactorChallengeDTO extends BaseDataObject
{
    public function __construct(
        public readonly int $userId,
        public readonly bool $verified,
        public readonly ?int $recoveryCodesRemaining = null,
        public readonly ?AuthContext $authContext = null,
    ) {}
}