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>
15 lines
242 B
C#
15 lines
242 B
C#
namespace WmsLite.Api.Infrastructure.Auth;
|
|
|
|
public interface ICurrentUserContext
|
|
{
|
|
bool IsAuthenticated { get; }
|
|
|
|
string UserId { get; }
|
|
|
|
string TenantId { get; }
|
|
|
|
string OwnerCode { get; }
|
|
|
|
string? DisplayName { get; }
|
|
}
|