SessionAudit

This commit is contained in:
dingo
2025-11-10 14:43:19 -05:00
parent 53a8ebb1d6
commit 9c75aaafc9
5 changed files with 91 additions and 6 deletions
+10
View File
@@ -0,0 +1,10 @@
using System.Threading;
using System.Threading.Tasks;
namespace Server.Services.Auth;
public interface ISessionAudit
{
/// <summary>Marks the session as ended (or deletes it) for this account+token.</summary>
Task EndAsync(ulong accountId, string token, string reason, CancellationToken ct = default);
}