method
Store.ChangePasswordHash
Public method Store.ChangePasswordHash from github.com/riducms/ridu/adapters/mongodb.
Arguments
| Argument | Type | Description |
|---|---|---|
ctx | context.Context | The ctx value. |
collection | schema.Collection | The collection value. |
userID | string | The userID value. |
expectedPasswordHash | []byte | The expectedPasswordHash value. |
hash | []byte | The hash value. |
Returns
The declared result.
errorFull signature
func (backend *Store) ChangePasswordHash(
ctx context.Context,
collection schema.Collection,
userID string,
expectedPasswordHash,
hash []byte,
) errorRelated types
StoreA replica-set implementation of Ridu’s document, snapshot, auth, preference, task, lock, upload, readiness, and migration contracts.
CollectionThe resolved contract for a collection.