Renamed to avoid confusion with domain model repositories

This commit is contained in:
Veljko Tosic
2026-02-14 22:40:57 +01:00
parent 628bba5986
commit 44ded27a2f
7 changed files with 22 additions and 22 deletions

View File

@@ -0,0 +1,12 @@
using AipsCore.Application.Common.Authentication.Models;
using AipsCore.Domain.Models.User.ValueObjects;
namespace AipsCore.Application.Abstract.UserContext;
public interface IRefreshTokenManager
{
Task AddAsync(string token, UserId userId, CancellationToken cancellationToken = default);
Task<RefreshToken> GetByValueAsync(string token, CancellationToken cancellationToken = default);
Task RevokeAsync(string token, CancellationToken cancellationToken = default);
Task RevokeAllAsync(UserId userId, CancellationToken cancellationToken = default);
}