mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
Created SessionController and UserSessionReader
+ tests for UserSessionReader
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user