Created SessionController and UserSessionReader

+ tests for UserSessionReader
This commit is contained in:
Artemy
2025-07-24 17:03:51 +07:00
parent 19f1ccdfd5
commit 15f9370dbe
7 changed files with 224 additions and 1 deletions
@@ -3,6 +3,6 @@ namespace Govor.Application.Interfaces.UserSession;
public interface IUserSessionRevoker
{
Task CloseSessionByRefreshTokenAsync(string refreshToken);
Task CloseSessionByIdAsync(Guid sessionId, Guid userId);
Task CloseAllSessionsAsync(Guid userId);
}