SessionAudit
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user