Search Results for

    Show / Hide Table of Contents
    View Source

    Interface IPasswordChanger<TUser>

    Namespace: Umbraco.Cms.Web.Common.Security
    Assembly: Umbraco.Web.BackOffice.dll
    Syntax
    public interface IPasswordChanger<TUser>
        where TUser : UmbracoIdentityUser
    Type Parameters
    Name Description
    TUser

    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>>>
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • ChangePasswordWithIdentityAsync(ChangingPasswordModel, IUmbracoUserManager<TUser>)
      • ChangePasswordWithIdentityAsync(ChangingPasswordModel, IUmbracoUserManager<TUser>, Nullable<IUser>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX