using Svrnty.CQRS.Altcha.Abstractions;
namespace Svrnty.CQRS.Altcha;
///
/// No-op fallback registered by AddSvrntyAltcha(). Always returns
/// null, leaving complexity at the upstream Altcha service's
/// configured default. Applications that want adaptive difficulty
/// replace this registration with their own implementation.
///
internal sealed class NullAltchaDifficultyAdvisor : IAltchaDifficultyAdvisor
{
public Task GetComplexityAsync(CancellationToken cancellationToken = default)
=> Task.FromResult(null);
}