1 2 3 4 5 6 7 8 9 10 11
using System; using System.Collections.Generic; namespace DevHive.Common.Jwt.Interfaces { public interface IJwtService { string GenerateJwtToken(Guid userId, string username, List<string> roleNames); bool ValidateToken(string authToken); } }