blob: 6f844f5f14fc6e960e5f549fd6c403352493b037 (
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(Guid userId, string rawToken);
}
}
|