IEmailSender<TUser>.SendPasswordResetLinkAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This API supports the ASP.NET Core Identity infrastructure and is not intended to be used as a general purpose email abstraction. It should be implemented by the application so the Identity infrastructure can send password reset emails.
public System.Threading.Tasks.Task SendPasswordResetLinkAsync (TUser user, string email, string resetLink);
abstract member SendPasswordResetLinkAsync : 'User * string * string -> System.Threading.Tasks.Task
Public Function SendPasswordResetLinkAsync (user As TUser, email As String, resetLink As String) As Task
Parameters
- user
- TUser
The user that is attempting to reset their password.
- String
The recipient's email address.
- resetLink
- String
The link to follow to reset the user password. Do not double encode this.