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/sqlite.

Source adapters/sqlite/auth.go:14

@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 SQLite implementation of Ridu’s document, snapshot, auth, preference, task, lock, version, and migration store contracts.

  • Collection

    The resolved contract for a collection.