mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-12-29 10:29:50 +01:00
33 lines
564 B
PHP
33 lines
564 B
PHP
<?php
|
|
|
|
namespace App\Services\Dto;
|
|
|
|
class TwoFAccountDto
|
|
{
|
|
/* @var string */
|
|
public string $otp_type;
|
|
|
|
/* @var string */
|
|
public string $account = '';
|
|
|
|
/* @var string */
|
|
public ?string $service = null;
|
|
|
|
/* @var string */
|
|
public ?string $icon = null;
|
|
|
|
/* @var string */
|
|
public ?string $secret = null;
|
|
|
|
/* @var string */
|
|
public ?string $algorithm = 'sha1';
|
|
|
|
/* @var integer */
|
|
public ?int $digits = 6;
|
|
|
|
/* @var integer */
|
|
public ?int $period = 30;
|
|
|
|
/* @var integer */
|
|
public ?int $counter = 0;
|
|
} |