View Source
Interface IPasswordChanger<TUser>
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public interface IPasswordChanger<TUser>
where TUser : UmbracoIdentityUser
Type Parameters
Methods
View Source
ChangePasswordWithIdentityAsync(ChangingPasswordModel, IUmbracoUserManager<TUser>)
Declaration
Task<Attempt<PasswordChangedModel?>> ChangePasswordWithIdentityAsync(ChangingPasswordModel passwordModel, IUmbracoUserManager<TUser> userMgr)
Parameters
Type |
Name |
Description |
ChangingPasswordModel |
passwordModel |
|
IUmbracoUserManager<TUser> |
userMgr |
|
Returns
Type |
Description |
Task<Attempt<System.Nullable<PasswordChangedModel>>> |
|
View Source
ChangePasswordWithIdentityAsync(ChangingPasswordModel, IUmbracoUserManager<TUser>, Nullable<IUser>)
Declaration
virtual Task<Attempt<PasswordChangedModel?>> ChangePasswordWithIdentityAsync(ChangingPasswordModel passwordModel, IUmbracoUserManager<TUser> userMgr, IUser? currentUser)
Parameters
Type |
Name |
Description |
ChangingPasswordModel |
passwordModel |
|
IUmbracoUserManager<TUser> |
userMgr |
|
System.Nullable<IUser> |
currentUser |
|
Returns
Type |
Description |
Task<Attempt<System.Nullable<PasswordChangedModel>>> |
|