method

Store.SetPasswordHash

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

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/sqlite/auth.go:14

Related types

  • Store

    A SQLite implementation of Ridu’s document, snapshot, auth, preference, task, lock, version, and migration store contracts.

  • Collection

    The resolved contract for a collection.