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

Source adapters/mongodb/auth_tokens.go:103

@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 replica-set implementation of Ridu’s document, snapshot, auth, preference, task, lock, upload, readiness, and migration contracts.

  • StableID

    A deterministic identifier for schema evolution.