Interface IUserForgotPasswordSender
Provides functionality to send forgot password messages to users.
Namespace: Umbraco.Cms.Core.Security
Assembly: Umbraco.Core.dll
Syntax
public interface IUserForgotPasswordSender
Methods
View SourceCanSend()
Determines whether the sender is configured and able to send messages.
Declaration
bool CanSend()
Returns
| Type | Description |
|---|---|
| bool |
|
SendForgotPassword(UserForgotPasswordMessage)
Sends a forgot password message to the user.
Declaration
Task SendForgotPassword(UserForgotPasswordMessage message)
Parameters
| Type | Name | Description |
|---|---|---|
| UserForgotPasswordMessage | message | The forgot password message containing user and reset details. |
Returns
| Type | Description |
|---|---|
| Task | A task representing the asynchronous operation. |