From 0ec066c212e0059fc836fa20b0dd4a2d359df895 Mon Sep 17 00:00:00 2001 From: WenRenHai Date: Sat, 21 Dec 2024 20:51:12 +0800 Subject: [PATCH] =?UTF-8?q?added(JwtAuth):=20=E6=B7=BB=E5=8A=A0=E7=94=A8?= =?UTF-8?q?=E6=88=B7=20=E5=92=8C=E5=BD=93=E5=89=8D=E7=94=A8=E6=88=B7=20Int?= =?UTF-8?q?erface=20(#140)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * added(JwtAuth): 添加用户 和当前用户 Interface - 新增 CurrentUserInterface 和 UserInterface - 定义了用户相关的方法和属性 - 为后续的用户认证和权限管理提供接口基础 * fix review * fix cs-fix --- Interfaces/CurrentUserInterface.php | 24 ++++++++++++++++++++++++ Interfaces/UserInterface.php | 26 ++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 Interfaces/CurrentUserInterface.php create mode 100644 Interfaces/UserInterface.php diff --git a/Interfaces/CurrentUserInterface.php b/Interfaces/CurrentUserInterface.php new file mode 100644 index 0000000..db637fd --- /dev/null +++ b/Interfaces/CurrentUserInterface.php @@ -0,0 +1,24 @@ +