登录刷新token优化
This commit is contained in:
@@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using WMS.Web.Core.Dto.Login;
|
||||
using WMS.Web.Core.Dto.Login.Temp;
|
||||
using WMS.Web.Core.Internal.Results;
|
||||
|
||||
namespace WMS.Web.Domain.IService.Public
|
||||
@@ -12,6 +13,16 @@ namespace WMS.Web.Domain.IService.Public
|
||||
/// </summary>
|
||||
public interface ILoginService
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 创建token
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
/// <param name="tempDto"></param>
|
||||
/// <param name="NewToken"></param>
|
||||
/// <returns></returns>
|
||||
Task<AccessTokenDto> CreateToken(UserInfoDto data, LoginTempDto tempDto, string NewToken);
|
||||
|
||||
/// <summary>
|
||||
/// 得到单点用户信息
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user