Class ChangePasswordModel
Inheritance
ChangePasswordModel
Assembly: Volo.Abp.Account.Pro.Public.Web.dll
Syntax
public class ChangePasswordModel : AccountPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
ChangePasswordModel(ICurrentPrincipalAccessor)
Declaration
public ChangePasswordModel(ICurrentPrincipalAccessor currentPrincipalAccessor)
Parameters
Fields
ChangePasswordScheme
Declaration
public static string ChangePasswordScheme
Field Value
Properties
CurrentPassword
Declaration
[Required]
[BindProperty]
[DynamicStringLength(typeof(IdentityUserConsts), "MaxPasswordLength", null)]
[DataType(DataType.Password)]
[DisableAuditing]
public string CurrentPassword { get; set; }
Property Value
CurrentPrincipalAccessor
Declaration
protected ICurrentPrincipalAccessor CurrentPrincipalAccessor { get; }
Property Value
HideOldPasswordInput
Declaration
public bool HideOldPasswordInput { get; set; }
Property Value
NewPassword
Declaration
[Required]
[BindProperty]
[DynamicStringLength(typeof(IdentityUserConsts), "MaxPasswordLength", null)]
[DataType(DataType.Password)]
[DisableAuditing]
public string NewPassword { get; set; }
Property Value
NewPasswordConfirm
Declaration
[Required]
[BindProperty]
[DynamicStringLength(typeof(IdentityUserConsts), "MaxPasswordLength", null)]
[DataType(DataType.Password)]
[DisableAuditing]
[Compare("NewPassword")]
public string NewPasswordConfirm { get; set; }
Property Value
RememberMe
Declaration
[BindProperty(SupportsGet = true)]
public bool RememberMe { get; set; }
Property Value
ReturnUrl
Declaration
[BindProperty(SupportsGet = true)]
public string ReturnUrl { get; set; }
Property Value
ReturnUrlHash
Declaration
[BindProperty(SupportsGet = true)]
public string ReturnUrlHash { get; set; }
Property Value
UserInfo
Declaration
[BindProperty]
public ChangePasswordModel.UserInfoModel UserInfo { get; set; }
Property Value
Methods
OnGetAsync()
Declaration
public virtual Task<IActionResult> OnGetAsync()
Returns
OnPostAsync()
Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
RetrieveChangePasswordUser()
Declaration
protected virtual Task<ChangePasswordModel.UserInfoModel> RetrieveChangePasswordUser()
Returns
Implements
Extension Methods