method

Store.ResetPasswordWithToken

func (backend *Store) ResetPasswordWithToken( ctx context.Context, collectionID schema.StableID, tokenHash string, hash []byte, now time.Time, ) (string, error)

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

Source adapters/sqlite/auth.go:362

@param ctx
The ctx value.
@param collectionID
The collectionID value.
@param tokenHash
The tokenHash value.
@param hash
The hash value.
@param now
The now 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.

  • StableID

    A deterministic identifier for schema evolution.