add token generator interface
This commit is contained in:
parent
cb73688a99
commit
a0bea204b4
1 changed files with 8 additions and 0 deletions
8
app/Auth/TokenGenerator.php
Normal file
8
app/Auth/TokenGenerator.php
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Auth;
|
||||||
|
|
||||||
|
interface TokenGenerator
|
||||||
|
{
|
||||||
|
public function generate(): string;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue