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/mongodb.
Related types
StoreA replica-set implementation of Ridu’s document, snapshot, auth, preference, task, lock, upload, readiness, and migration contracts.