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