Interface IOneTimePasswordEmailSender
Provides an abstraction for a service that sends one-time password e-mails.
Namespace: IRM.AspNetCore.Identity.Mail
Assembly: IRM.AspNetCore.Identity.Mail.dll
Syntax
public interface IOneTimePasswordEmailSender
Methods
SendAsync(OneTimePasswordViewModel)
Sends a one-time password e-mail to a reciever.
Declaration
Task SendAsync(OneTimePasswordViewModel viewModel)
Parameters
OneTimePasswordViewModel
viewModel
The OneTimePasswordViewModel with information for creating one-time password e-mail. |
Returns
System.Threading.Tasks.Task
The task object representing the asynchronous operation. |