method

Store.ResetLoginAttempts

Public method Store.ResetLoginAttempts from github.com/riducms/ridu/adapters/mongodb.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
collectionIDschema.StableIDThe collectionID value.
userIDstringThe userID value.
nowtime.TimeThe now value.

Returns

The declared result.

(bool, error)

Full signature

func (backend *Store) ResetLoginAttempts( ctx context.Context, collectionID schema.StableID, userID string, now time.Time, ) (bool, error)

Source adapters/mongodb/auth.go:479

Related types

  • Store

    A replica-set implementation of Ridu’s document, snapshot, auth, preference, task, lock, upload, readiness, and migration contracts.

  • StableID

    A deterministic identifier for schema evolution.