Interface IPasswordChanger<TUser>
Namespace: Umbraco.Cms.Core.Security
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IPasswordChanger<TUser>
where TUser : UmbracoIdentityUser
Type Parameters
Name | Description |
---|---|
TUser |
Methods
View SourceChangePasswordWithIdentityAsync(ChangingPasswordModel, IUmbracoUserManager<TUser>, IUser)
Declaration
Task<Attempt<PasswordChangedModel>> ChangePasswordWithIdentityAsync(ChangingPasswordModel passwordModel, IUmbracoUserManager<TUser> userMgr, IUser currentUser)
Parameters
Type | Name | Description |
---|---|---|
ChangingPasswordModel | passwordModel | |
IUmbracoUserManager<TUser> | userMgr | |
IUser | currentUser |
Returns
Type | Description |
---|---|
Task<Attempt<PasswordChangedModel>> |