type
VerifyEmailConfig
type VerifyEmailConfig struct {
// TokenDuration is the lifetime of a verification token. Zero defaults to 24 hours.
TokenDuration time.Duration
// Send delivers a newly issued verification token.
Send func(context.Context, VerifyEmailNotification) error
}Mandatory email-verification token lifetime and delivery callback.
Related types
VerifyEmailNotificationTrusted email-verification delivery payload.