xyz.migoo.framework.infra.service.login.TokenService Maven / Gradle / Ivy
The newest version!
package xyz.migoo.framework.infra.service.login;
import xyz.migoo.framework.infra.controller.login.vo.AuthLoginReqVO;
import xyz.migoo.framework.infra.controller.login.vo.AuthLoginRespVO;
import jakarta.validation.Valid;
import xyz.migoo.framework.security.core.service.SecurityAuthFrameworkService;
public interface TokenService extends SecurityAuthFrameworkService {
/**
* 账号登录
*
* @param reqVO 登录信息
* @return 身份令牌,使用 JWT 方式
*/
AuthLoginRespVO signIn(@Valid AuthLoginReqVO reqVO);
}