feat: bootstrap user rbac foundation
This commit is contained in:
@@ -20,3 +20,8 @@ class IAuthService(ABC):
|
||||
IsLeader: bool | None, Area: str | None, ExpiresIn: int) -> LoginTokenVO:
|
||||
"""OAuth 登录。"""
|
||||
...
|
||||
|
||||
@abstractmethod
|
||||
async def GetCurrentUser(self, UserId: int) -> dict:
|
||||
"""获取当前登录用户信息。"""
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user