package com.kcim.common.token;

import cn.dev33.satoken.jwt.StpLogicJwtForSimple;
import cn.dev33.satoken.stp.StpLogic;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @program: CostAccount
 * @description:
 * @author: Wang.YS
 * @create: 2023-09-19 17:49
 **/
@Configuration
public class TokenTypeConfigure {
    //     Sa-Token 整合 jwt (Simple 简单模式)
    @Bean
    public StpLogic getStpLogicJwt() {
        return new StpLogicJwtForSimple();
    }
}
