Add JWT authentication and authorization infrastructure
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace Distribution.Infra.Auth
|
||||
{
|
||||
public interface ICurrentUserService
|
||||
{
|
||||
Guid? UserId { get; }
|
||||
Guid? RoleId { get; }
|
||||
string? Username { get; }
|
||||
int RoleLevel { get; }
|
||||
bool IsAuthenticated { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user