method
Store.RecordFailedLogin
func (backend *Store) RecordFailedLogin(
ctx context.Context,
collectionID schema.StableID,
userID string,
now time.Time,
maximum int,
lockDuration time.Duration,
) (store.AuthCredential, error)Public method Store.RecordFailedLogin 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.
StableIDA deterministic identifier for schema evolution.
AuthCredentialPrivate password and lockout state associated with one user document.