namespace ERPCore.Infra.Auth;

/// <summary>
/// Claim type names emitted by the AuthHex IdP (see its <c>JwtTokenHelper</c>).
/// AuthHex uses no standard <c>sub</c>/<c>nameid</c>; identity is the custom
/// <see cref="UserId"/> (GUID). These are read verbatim (JWT bearer is configured
/// with <c>MapInboundClaims = false</c>).
/// </summary>
public static class AuthHexClaims
{
    public const string UserId = "UserId";
    public const string UserTypeId = "UserTypeId";
    public const string UserTypeCode = "UserTypeCode";
    public const string RoleId = "RoleId";
    public const string RoleCode = "RoleCode";
    public const string Nic = "NIC";
}
