30 lines
691 B
C#
30 lines
691 B
C#
using Microsoft.AspNetCore.Authorization;
|
|
using Syc.Basic.Web.Dtos;
|
|
using Syc.Basic.Web.WMS.Dtos;
|
|
using Syc.Basic.Web.WMS.Dtos.Auth;
|
|
using Syc.Basic.Web.WMS.Dtos.User;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Syc.Basic.Web.WMS.IServices
|
|
{
|
|
public interface IAuthService
|
|
{
|
|
/// <summary>
|
|
/// 登录
|
|
/// </summary>
|
|
/// <param name="input"></param>
|
|
/// <returns></returns>
|
|
Task<AuthResultDto> LoginAsync(LoginInput input);
|
|
|
|
/// <summary>
|
|
/// 注销
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task Logout();
|
|
}
|
|
}
|