aboutsummaryrefslogtreecommitdiff
path: root/src/Common/DevHive.Common/Jwt/Interfaces/IJwtService.cs
blob: d2f1756a253faee6e63a6a27d7d9fc413f0fd2f6 (plain) (blame)
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);
	}
}