IEmailSender<TUser> Interface
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 confirmation and password reset emails.
public interface IEmailSender<TUser> where TUser : class
type IEmailSender<'User (requires 'User : null)> = interface
Public Interface IEmailSender(Of TUser)
Type Parameters
- TUser
Methods
SendConfirmationLinkAsync(TUser, String, String) |
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 confirmation emails. |
SendPasswordResetCodeAsync(TUser, String, String) |
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. |
SendPasswordResetLinkAsync(TUser, String, String) |
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. |