mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-10-27 02:59:02 +08:00
优化核心包代码注释 & 彩色日志打印
This commit is contained in:
@@ -13,7 +13,7 @@ import cn.hutool.jwt.JWTException;
|
||||
|
||||
/**
|
||||
* jwt 操作模板方法封装
|
||||
* @author kong
|
||||
* @author click33
|
||||
*
|
||||
*/
|
||||
public class SaJwtTemplate {
|
||||
|
||||
@@ -7,7 +7,7 @@ import cn.hutool.jwt.JWT;
|
||||
|
||||
/**
|
||||
* jwt 操作工具类封装
|
||||
* @author kong
|
||||
* @author click33
|
||||
*
|
||||
*/
|
||||
public class SaJwtUtil {
|
||||
|
||||
@@ -14,7 +14,7 @@ import cn.dev33.satoken.stp.StpUtil;
|
||||
|
||||
/**
|
||||
* Sa-Token 整合 jwt -- Mixin 混入模式
|
||||
* @author kong
|
||||
* @author click33
|
||||
*
|
||||
*/
|
||||
public class StpLogicJwtForMixin extends StpLogic {
|
||||
|
||||
@@ -9,7 +9,7 @@ import cn.dev33.satoken.stp.StpUtil;
|
||||
|
||||
/**
|
||||
* Sa-Token 整合 jwt -- Simple 简单模式
|
||||
* @author kong
|
||||
* @author click33
|
||||
*
|
||||
*/
|
||||
public class StpLogicJwtForSimple extends StpLogic {
|
||||
|
||||
@@ -16,7 +16,7 @@ import cn.dev33.satoken.util.SaFoxUtil;
|
||||
|
||||
/**
|
||||
* Sa-Token 整合 jwt -- Stateless 无状态模式
|
||||
* @author kong
|
||||
* @author click33
|
||||
*
|
||||
*/
|
||||
public class StpLogicJwtForStateless extends StpLogic {
|
||||
|
||||
@@ -3,7 +3,7 @@ package cn.dev33.satoken.jwt.error;
|
||||
/**
|
||||
* 定义 sa-token-jwt 所有异常细分状态码
|
||||
*
|
||||
* @author kong
|
||||
* @author click33
|
||||
* @since 2022-10-31
|
||||
*/
|
||||
public class SaJwtErrorCode {
|
||||
|
||||
@@ -7,7 +7,7 @@ import cn.dev33.satoken.util.SaFoxUtil;
|
||||
/**
|
||||
* 一个异常:代表 jwt 相关错误
|
||||
*
|
||||
* @author kong
|
||||
* @author click33
|
||||
* @since 2022-10-31
|
||||
*/
|
||||
public class SaJwtException extends SaTokenException {
|
||||
|
||||
Reference in New Issue
Block a user