Refactor auth to AuthHex

This commit is contained in:
2026-08-25 16:46:05 +05:30
parent 916a2b8f0a
commit 97a1db1343
15 changed files with 561 additions and 81 deletions
@@ -0,0 +1,10 @@
namespace Distribution.Infra.Authorization.Middleware;
/// <summary>Stand-in for OSMCore's OMSCore.Common.Models.IOs.ApiResponse&lt;T&gt;, which has no equivalent in this project.</summary>
public sealed record ApiResponse<T>
{
public int StatusCode { get; init; }
public bool Success { get; init; }
public string? Message { get; init; }
public T? Data { get; init; }
}