type

PasswordResetNotification

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

Trusted password-reset delivery payload.

Source core/config.go:296

Collectionschema.CollectionSlug
The auth collection containing the user.
Userstore.Document
A detached snapshot of the user document.
Tokenstring
The raw single-use reset 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 reset link inside the trusted callback.