<?php

namespace idoit\Component\PasswordReset;

/**
 * i-doit Password Reset Token.
 *
 * Please DO NOT use this class standalone, only retrieve if from 'PasswordResetService'.
 *
 * @package     i-doit
 * @subpackage  Component
 * @copyright   synetics GmbH
 * @license     http://www.i-doit.com/license
 */
class Token
{
    public readonly string $token;
    public readonly int $userId;
    public readonly int $tenantId;

    public function __construct(string $token, int $userId, int $tenantId)
    {
        $this->token = $token;
        $this->userId = $userId;
        $this->tenantId = $tenantId;
    }
}
