method

Store.VerifyEmailWithToken

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

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
collectionIDschema.StableIDThe collectionID value.
tokenHashstringThe tokenHash value.
nowtime.TimeThe now value.

Returns

The declared result.

(string, error)

Full signature

func (backend *Store) VerifyEmailWithToken( ctx context.Context, collectionID schema.StableID, tokenHash string, now time.Time, ) (string, error)

Source adapters/sqlite/auth.go:416

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.