Class AccountEmailer
Inheritance
System.Object
AccountEmailer
Implements
ITransientDependency
Assembly: Volo.Abp.Account.Application.dll
Syntax
public class AccountEmailer : object, IAccountEmailer, ITransientDependency
Constructors
AccountEmailer(IEmailSender, ITemplateRenderer, IStringLocalizer<AccountResource>, IAppUrlProvider, ICurrentTenant)
Declaration
public AccountEmailer(IEmailSender emailSender, ITemplateRenderer templateRenderer, IStringLocalizer<AccountResource> stringLocalizer, IAppUrlProvider appUrlProvider, ICurrentTenant currentTenant)
Parameters
Properties
AppUrlProvider
Declaration
protected IAppUrlProvider AppUrlProvider { get; }
Property Value
CurrentTenant
Declaration
protected ICurrentTenant CurrentTenant { get; }
Property Value
Type |
Description |
ICurrentTenant |
|
EmailSender
Declaration
protected IEmailSender EmailSender { get; }
Property Value
StringLocalizer
Declaration
protected IStringLocalizer<AccountResource> StringLocalizer { get; }
Property Value
TemplateRenderer
Declaration
protected ITemplateRenderer TemplateRenderer { get; }
Property Value
Type |
Description |
ITemplateRenderer |
|
Methods
SendPasswordResetLinkAsync(IdentityUser, String, String, String, String)
Declaration
public virtual Task SendPasswordResetLinkAsync(IdentityUser user, string resetToken, string appName, string returnUrl = null, string returnUrlHash = null)
Parameters
Type |
Name |
Description |
IdentityUser |
user |
|
System.String |
resetToken |
|
System.String |
appName |
|
System.String |
returnUrl |
|
System.String |
returnUrlHash |
|
Returns
Implements
ITransientDependency
Extension Methods