type
PasswordResetConfig
Token lifetime and trusted notification callback for password recovery.
TokenDurationtime.Duration- Lifetime of a reset token; zero defaults to one hour.
Sendfunc(context.Context, PasswordResetNotification) error- Delivers the newly issued token; an error prevents a success response.