First round of refinements on the login system...
There's a lot more to do on the to-do list
This commit is contained in:
parent
82ed2e3ce2
commit
1b241aeddb
7 changed files with 390 additions and 219 deletions
14
app/DTOs/MagicTokenResult.php
Normal file
14
app/DTOs/MagicTokenResult.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
namespace App\DTOs;
|
||||
|
||||
use App\Models\MagicLoginToken;
|
||||
|
||||
readonly class MagicTokenResult
|
||||
{
|
||||
public function __construct(
|
||||
public MagicLoginToken $token,
|
||||
public string $plainToken,
|
||||
public string $plainCode,
|
||||
) {}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue