Method VerifyRecoveryCodeAsync(long, string, CancellationToken)

Assembly: redb.Identity.Core.dll

Verifies a one-time recovery code. The code is consumed (removed) on success.
Failed attempts increment and trigger lockout,
matching the protection given to TOTP/SMS/Email.

public Task<bool> VerifyRecoveryCodeAsync(long userId, string code, CancellationToken ct = default)