type
VerifyEmailNotification
type VerifyEmailNotification struct {
Collection schema.CollectionSlug
User store.Document
Token string
ExpiresAt time.Time
}Trusted email-verification delivery payload.
Collectionschema.CollectionSlug- The auth collection containing the user.
Userstore.Document- A detached snapshot of the user document.
Tokenstring- The raw single-use verification token.
ExpiresAttime.Time- The instant after which the token is invalid.
Token is shown once and must never be logged. Build and deliver the application-owned verification link inside the trusted callback.