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.

Source core/config.go:304

@param TokenDuration
Lifetime of a verification token; zero defaults to 24 hours.
@param Send
Delivers the newly issued verification token.

Related types