namespace Svrnty.CQRS.Altcha.Abstractions;
///
/// Verifies an Altcha solution payload. The default implementation in
/// Svrnty.CQRS.Altcha.Grpc talks to a self-hosted altcha service
/// over gRPC; consumers may register their own implementation (e.g. an
/// in-process variant or a different transport) and the
/// -based pipeline picks it up
/// automatically.
///
public interface IAltchaVerifier
{
///
/// Base64-encoded JSON payload produced by the Altcha widget — the same
/// string carried on .
///
Task VerifyAsync(string payload, CancellationToken cancellationToken = default);
}