renis-backend/Services/Jwt/IJwtService.cs
2024-09-07 13:34:38 +03:00

12 lines
308 B
C#

using Renis.Database.Models;
namespace Renis.Services.Jwt;
public interface IJwtService
{
string GenerateAccessToken(User user);
string GenerateRefreshToken(User user);
Tuple<bool, string> ValidateAccessToken(string? token);
Task<Tuple<bool, string>> ValidateRefreshToken(string? token);
}