method

Store.SetPasswordHash

func (backend *Store) SetPasswordHash( ctx context.Context, collection schema.Collection, userID string, hash []byte, initiallyVerified bool, ) error

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

Source adapters/mongodb/auth.go:194

@param ctx
The ctx value.
@param collection
The collection value.
@param userID
The userID value.
@param hash
The hash value.
@param initiallyVerified
The initiallyVerified value.
@returns
The declared result.

Related types

  • Store

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

  • Collection

    The resolved contract for a collection.