Method IsRecentlyUsedAsync(IRedbService, long, string, int, CancellationToken)

Assembly: redb.Identity.Core.dll

The same check through the caller's redb: what a processor on a transacted route
calls, so the lookup runs on the route's connection and does not open a second one inside its
transaction (a second connection promotes it to a distributed transaction, which PostgreSQL refuses
unless max_prepared_transactions is set). A store without its own implementation keeps the check above.

public Task<bool> IsRecentlyUsedAsync(IRedbService redb, long userId, string password, int count, CancellationToken ct)