Newsbot.Collector/Newsbot.Collector.Domain/Interfaces/IRefreshTokenRepository.cs
James Tombleson 4cacc03fb8
Some checks failed
continuous-integration/drone/pr Build is failing
Getting things setup to support token refresh
2023-07-10 22:41:39 -07:00

10 lines
267 B
C#

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);
}