method

Store.VerifyEmailWithToken

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

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

Source adapters/mongodb/auth_tokens.go:107

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