api/HamyanEdalat.Repository/Abstracts/ICurrentUserService.cs

11 lines
304 B
C#
Raw Normal View History

2024-03-09 19:53:01 +03:30
namespace HamyanEdalat.Repository.Abstracts;
public interface ICurrentUserService : IScopedDependency
{
string? UserId { get; }
string? RoleName { get; }
string? UserName { get; }
string? DeviceId { get; }
bool IsAuthorized { get; }
public List<string>? Permissions { get; }
}