Class JwtStpInterface
java.lang.Object
io.github.xezzon.zeroweb.auth.JwtStpInterface
- All Implemented Interfaces:
cn.dev33.satoken.stp.StpInterface
ZeroWeb 的 StpInterface 实现类,用于 Sa-Token 框架。
该类通过从 JWT claims 中提取权限和角色信息,为 Sa-Token 提供认证授权服务。
- Author:
- xezzon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPermissionList(Object loginId, String loginType) 获取指定账号的权限列表。getRoleList(Object loginId, String loginType) 获取指定账号的角色列表。
-
Constructor Details
-
JwtStpInterface
public JwtStpInterface()
-
-
Method Details
-
getPermissionList
-
getRoleList
-