type
PasswordResetConfig
Token lifetime and trusted notification callback for password recovery.
Properties
| Property | Type | Description |
|---|---|---|
TokenDuration | time.Duration | Lifetime of a reset token; zero defaults to one hour. |
Send | func(context.Context, | Delivers the newly issued token; an error prevents a success response. |