using System.IdentityModel.Tokens.Jwt; using GamificationService.Models.Database; using GamificationService.Models.DTO; namespace GamificationService.Services.JWT; public interface IJwtService { string GenerateAccessToken(ApplicationUser user); JwtSecurityToken ValidateAccessToken(string token); Task GenerateRefreshTokenAsync(ApplicationUser user); Task RevokeRefreshTokenAsync(long userId, string refreshToken, string remoteIpAddress); }