Implement API security baseline (sys_user, JWT, audit fields, transactions, unique constraints) and Web real login with 401 handling. Document setup and development workflows in root, WmsLite.Api, and WmsLite.Web README files. Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
276 B
C#
12 lines
276 B
C#
using WmsLite.Api.Dtos.Auth;
|
|
using WmsLite.Api.Infrastructure.Auth;
|
|
|
|
namespace WmsLite.Api.Services.Interfaces;
|
|
|
|
public interface IAuthService
|
|
{
|
|
Task<LoginResponseDto> LoginAsync(LoginRequest request);
|
|
|
|
MeResponseDto GetCurrentUser(ICurrentUserContext userContext);
|
|
}
|