Domain: User, Session, EmailAddress, DTOs, repositories, services (PasswordHasher, TokenGenerator, Clock). Config: PHP-DI container definitions and Slim routes. Entry point: public/index.php with slim-bridge.
8 lines
97 B
PHP
8 lines
97 B
PHP
<?php
|
|
|
|
namespace App\Auth;
|
|
|
|
interface TokenGenerator
|
|
{
|
|
public function generate(): string;
|
|
}
|