com.wangshanhai.power.service.TokenGenerateService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shanhai-power-spring-boot-starter Show documentation
Show all versions of shanhai-power-spring-boot-starter Show documentation
山海Power - 基于SpringBoot的权限组件,极致精简,只为满足简单需要。
The newest version!
package com.wangshanhai.power.service;
import com.wangshanhai.power.config.ShanhaiPowerConfig;
import java.util.Map;
/**
* Token生成服务
* @author Shmily
*/
public interface TokenGenerateService {
/**
* 生成Token
* @param shanhaiPowerConfig
* @param extParams 自定义参数
* @return
*/
public String generateToken(ShanhaiPowerConfig shanhaiPowerConfig, Map extParams);
}