type

VerifyEmailNotification

Trusted email-verification delivery payload.

Properties

PropertyTypeDescription
Collectionschema.CollectionSlugThe auth collection containing the user.
Userstore.DocumentA detached snapshot of the user document.
TokenstringThe raw single-use verification token.
ExpiresAttime.TimeThe instant after which the token is invalid.

How it works

Token is shown once and must never be logged. Build and deliver the application-owned verification link inside the trusted callback.

Full signature

type VerifyEmailNotification struct { Collection schema.CollectionSlug User store.Document Token string ExpiresAt time.Time }

Source core/config.go:317