initial commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace Indotalent.ConfigBackEnd.Interfaces;
|
||||
|
||||
public interface ICurrentUserService
|
||||
{
|
||||
string? TenantId { get; set; }
|
||||
string? UserId { get; set; }
|
||||
string? UserName { get; set; }
|
||||
string? Email { get; set; }
|
||||
string? FullName { get; set; }
|
||||
Task<bool> IsInRoleAsync(string role);
|
||||
Task<bool> HasPermissionAsync(string permission);
|
||||
}
|
||||
Reference in New Issue
Block a user