Newsbot.Collector/Newsbot.Collector.Domain/Interfaces/IRefreshTokenRepository.cs

10 lines
267 B
C#
Raw Permalink Normal View History

using Newsbot.Collector.Domain.Entities;
namespace Newsbot.Collector.Domain.Interfaces;
public interface IRefreshTokenRepository
{
void Add(RefreshTokenEntity entity);
public RefreshTokenEntity? Get(string token);
void UpdateTokenIsUsed(string token);
}