backend: Make refresh token rotation atomic
This commit is contained in:
1 parent
483bb10fbd
commit
fd37986f5e
5 files changed
+20
-14
No files matched your search
@@ -30,7 +30,7 @@ public interface IAppDbContext
|
||||
DbSet<PushDevice> PushDevices { get; }
|
||||
|
||||
Task<int> SaveChangesAsync(CancellationToken cancellationToken = default);
|
||||
Task<IDbContextTransaction> BeginProposalWriteAsync(CancellationToken ct);
|
||||
Task<IDbContextTransaction> BeginWriteAsync(CancellationToken ct);
|
||||
Task<Proposal?> LockProposalAsync(int id, CancellationToken ct);
|
||||
Task RegisterPushDeviceAsync(int userId, string token, CancellationToken ct);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user