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