Method VerifyAndConsumeAsync(Guid, long, string, CancellationToken)

Assembly: redb.Identity.Core.dll

Verifies and atomically consumes an OTP keyed by jti. On success
the row is marked Consumed; on failure Attempts increments so downstream
telemetry can flag guessing attempts. Already-consumed or expired rows return
= false with the appropriate
.

Task<OtpVerifyResult> VerifyAndConsumeAsync(Guid jti, long userId, string code, CancellationToken ct = default)