mirror of
https://gitee.com/ctexthuang/hyperf-micro-svc.git
synced 2026-02-08 10:20:16 +08:00
feat : login first
This commit is contained in:
10
app/Common/Interface/LoginInterface.php
Normal file
10
app/Common/Interface/LoginInterface.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace App\Common\Interface;
|
||||
|
||||
interface LoginInterface
|
||||
{
|
||||
public function authenticate(string $username, string $password): array;
|
||||
|
||||
public function supports(string $type): bool;
|
||||
}
|
||||
Reference in New Issue
Block a user