method

Store.SetPasswordHash

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

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
collectionschema.CollectionThe collection value.
userIDstringThe userID value.
hash[]byteThe hash value.
initiallyVerifiedboolThe initiallyVerified value.

Returns

The declared result.

error

Full signature

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

Source adapters/postgres/auth.go:16

Related types

  • Store

    A PostgreSQL implementation of Ridu’s document, snapshot, auth, preference, task, job, lock, upload-reference, and migration store contracts.

  • Collection

    The resolved contract for a collection.