API oldaláról sokminden

This commit is contained in:
2025-01-29 16:56:10 +01:00
parent 3669267898
commit d5cbeea8f4
46 changed files with 848 additions and 16 deletions
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WorkFlowCheck.Common.Constants
{
public static class MemoryCacheNames
{
public const string UsersNamePrefix = "Users_";
public const string TranslationsNamePrefix = "Translations_";
public const string Languages = "Languages";
}
}
@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WorkFlowCheck.Common.RequestContext
{
public interface IRequestContext
{
string TraceId { get; }
string CurrentUsername { get; }
string CurrentUserEmail { get; }
int? CurrentUserId { get; }
CancellationToken RequestAborted { get; }
}
}