mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-12-19 19:46:56 +08:00
优化核心包代码注释 & 彩色日志打印
This commit is contained in:
@@ -13,7 +13,7 @@ import cn.dev33.satoken.util.SaResult;
|
||||
|
||||
/**
|
||||
* Sa-Token SSO 单点登录模块 配置类 Model
|
||||
* @author kong
|
||||
* @author click33
|
||||
*
|
||||
*/
|
||||
public class SaSsoConfig implements Serializable {
|
||||
|
||||
@@ -2,7 +2,7 @@ package cn.dev33.satoken.sso;
|
||||
|
||||
/**
|
||||
* Sa-Token-SSO模块相关常量
|
||||
* @author kong
|
||||
* @author click33
|
||||
*
|
||||
*/
|
||||
public class SaSsoConsts {
|
||||
|
||||
@@ -5,7 +5,7 @@ import cn.dev33.satoken.config.SaSsoConfig;
|
||||
/**
|
||||
* Sa-Token-SSO 模块 总控类
|
||||
*
|
||||
* @author kong
|
||||
* @author click33
|
||||
*
|
||||
*/
|
||||
public class SaSsoManager {
|
||||
|
||||
@@ -15,7 +15,7 @@ import cn.dev33.satoken.util.SaResult;
|
||||
/**
|
||||
* SSO 请求处理器
|
||||
*
|
||||
* @author kong
|
||||
* @author click33
|
||||
* @since 2022-10-25
|
||||
*/
|
||||
public class SaSsoProcessor {
|
||||
|
||||
@@ -18,7 +18,7 @@ import java.util.*;
|
||||
|
||||
/**
|
||||
* Sa-Token-SSO 单点登录模块
|
||||
* @author kong
|
||||
* @author click33
|
||||
*
|
||||
*/
|
||||
public class SaSsoTemplate {
|
||||
|
||||
@@ -6,7 +6,7 @@ import java.util.Map;
|
||||
|
||||
/**
|
||||
* Sa-Token-SSO 单点登录模块 工具类
|
||||
* @author kong
|
||||
* @author click33
|
||||
*
|
||||
*/
|
||||
public class SaSsoUtil {
|
||||
|
||||
@@ -3,7 +3,7 @@ package cn.dev33.satoken.sso.error;
|
||||
/**
|
||||
* 定义 sa-token-sso 所有异常细分状态码
|
||||
*
|
||||
* @author kong
|
||||
* @author click33
|
||||
* @since: 2022-10-31
|
||||
*/
|
||||
public interface SaSsoErrorCode {
|
||||
|
||||
@@ -6,7 +6,7 @@ import cn.dev33.satoken.exception.SaTokenException;
|
||||
/**
|
||||
* 一个异常:代表 SSO 认证流程错误
|
||||
*
|
||||
* @author kong
|
||||
* @author click33
|
||||
*/
|
||||
public class SaSsoException extends SaTokenException {
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ package cn.dev33.satoken.sso.name;
|
||||
/**
|
||||
* SSO 模块所有 API 路由名称定义
|
||||
*
|
||||
* @author kong
|
||||
* @author click33
|
||||
* @since 2022-10-25
|
||||
*/
|
||||
public class ApiName {
|
||||
|
||||
@@ -3,7 +3,7 @@ package cn.dev33.satoken.sso.name;
|
||||
/**
|
||||
* SSO 模块所有参数名称定义
|
||||
*
|
||||
* @author kong
|
||||
* @author click33
|
||||
* @since 2022-10-25
|
||||
*/
|
||||
public class ParamName {
|
||||
|
||||
Reference in New Issue
Block a user