method
Store.AllowAuthAttempt
func (backend *Store) AllowAuthAttempt(
ctx context.Context,
keyHash string,
now time.Time,
window time.Duration,
maximum int,
) (bool, error)Public method Store.AllowAuthAttempt from github.com/riducms/ridu/adapters/postgres.
Related types
StoreA PostgreSQL implementation of Ridu’s document, snapshot, auth, preference, task, job, lock, upload-reference, and migration store contracts.