Class AccountEmailer
Inheritance
System.Object
AccountEmailer
Implements
ITransientDependency
Assembly: Volo.Abp.Account.Pro.Public.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
| 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
| Type |
Description |
| IStringLocalizer<AccountResource> |
|
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
| Type |
Name |
Description |
| IdentityUser |
user |
|
| System.String |
confirmationToken |
|
| System.String |
appName |
|
| System.String |
returnUrl |
|
| System.String |
returnUrlHash |
|
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
| Type |
Name |
Description |
| IdentityUser |
user |
|
| System.String |
resetToken |
|
| System.String |
appName |
|
| System.String |
returnUrl |
|
| System.String |
returnUrlHash |
|
Returns
Implements
ITransientDependency