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
334 B
C#
15 lines
334 B
C#
namespace WmsLite.Api.Infrastructure.Auth;
|
|
|
|
public class JwtOptions
|
|
{
|
|
public const string SectionName = "Jwt";
|
|
|
|
public string Issuer { get; set; } = "WmsLite";
|
|
|
|
public string Audience { get; set; } = "WmsLite.Web";
|
|
|
|
public string Key { get; set; } = string.Empty;
|
|
|
|
public int ExpiresMinutes { get; set; } = 480;
|
|
}
|