11 lines
245 B
C#
11 lines
245 B
C#
using System.Security.Claims;
|
|
using HelpDesk.Models.Enums;
|
|
|
|
namespace HelpDesk.API.Services;
|
|
|
|
public interface IJwtService
|
|
{
|
|
string GenerateToken(Guid userId, string email, UserRole role);
|
|
ClaimsPrincipal? ValidateToken(string token);
|
|
}
|