8 lines
235 B
C#
8 lines
235 B
C#
namespace Application.Services.Jwt;
|
|
|
|
public interface IJwtService
|
|
{
|
|
public string GenerateJwtToken(Guid userId, string roleName, string userName);
|
|
bool ValidateJwtToken(string token);
|
|
string RefreshToken(string token);
|
|
} |