Includes fix for redemption failing with DbUpdateConcurrencyException: change the guest password before applying the user policy, since UpdatePolicyAsync bumps the user's EF concurrency token and a stale instance then breaks ChangePassword.
14 lignes
363 B
C#
14 lignes
363 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Jellyfin.Plugin.ShareLinks.Services;
|
|
|
|
/// <summary>
|
|
/// Cleanup seam for later workers. The initial implementation is a no-op.
|
|
/// </summary>
|
|
public interface IShareLinkCleanupService
|
|
{
|
|
/// <summary>Runs one cleanup pass.</summary>
|
|
Task CleanupAsync(CancellationToken cancellationToken);
|
|
}
|