Class AccountEmailer
Inheritance
AccountEmailer
Implements
ITransientDependency
Assembly: Volo.Abp.Account.Pro.Public.Application.dll
Syntax
public class AccountEmailer : 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
Type |
Name |
Description |
IEmailSender |
emailSender |
|
ITemplateRenderer |
templateRenderer |
|
IStringLocalizer<AccountResource> |
stringLocalizer |
|
IAppUrlProvider |
appUrlProvider |
|
ICurrentTenant |
currentTenant |
|
Properties
AppUrlProvider
Declaration
protected IAppUrlProvider AppUrlProvider { get; }
Property Value
Type |
Description |
IAppUrlProvider |
|
CurrentTenant
Declaration
protected ICurrentTenant CurrentTenant { get; }
Property Value
Type |
Description |
ICurrentTenant |
|
EmailSender
Declaration
protected IEmailSender EmailSender { get; }
Property Value
Type |
Description |
IEmailSender |
|
StringLocalizer
Declaration
protected IStringLocalizer<AccountResource> StringLocalizer { get; }
Property Value
TemplateRenderer
Declaration
protected ITemplateRenderer TemplateRenderer { get; }
Property Value
Type |
Description |
ITemplateRenderer |
|
Methods
SendEmailConfirmationLinkAsync(IdentityUser, string, string, string, string)
Declaration
public virtual Task SendEmailConfirmationLinkAsync(IdentityUser user, string confirmationToken, string appName, string returnUrl = null, string returnUrlHash = null)
Parameters
Returns
SendEmailSecurityCodeAsync(IdentityUser, string)
Declaration
public Task SendEmailSecurityCodeAsync(IdentityUser user, string code)
Parameters
Type |
Name |
Description |
IdentityUser |
user |
|
string |
code |
|
Returns
SendPasswordResetLinkAsync(IdentityUser, string, string, string, string)
Declaration
public virtual Task SendPasswordResetLinkAsync(IdentityUser user, string resetToken, string appName, string returnUrl = null, string returnUrlHash = null)
Parameters
Returns
Implements
Volo.Abp.DependencyInjection.ITransientDependency