rework structure
added Router added .htaccess removed API-Module => is not used renamed batch to CRON
This commit is contained in:
parent
ccf2f506f0
commit
c33bb4cb3a
37 changed files with 680 additions and 190 deletions
22
src/Venom/Security/Login.php
Normal file
22
src/Venom/Security/Login.php
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
|
||||
|
||||
namespace Venom\Security;
|
||||
|
||||
|
||||
use Venom\Models\User;
|
||||
|
||||
interface Login
|
||||
{
|
||||
public function __construct(User $user);
|
||||
|
||||
public function checkUsername(): bool;
|
||||
|
||||
public function checkPassword(): bool;
|
||||
|
||||
public function checkCredentials(): bool;
|
||||
|
||||
public function login(): bool;
|
||||
|
||||
public function redirect(): void;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue