AccountPasswordActionsPageBase<TUserRow>.ChangePassword method (1 of 2)
Renders the change password page, or the set password page if the user has no password set.
public virtual ActionResult ChangePassword(IUserRetrieveService userRetriever)
| parameter | description |
|---|---|
| userRetriever | The user retrieve service. |
Return Value
The change password or set password page result.
See Also
- interface IUserRetrieveService
- class AccountPasswordActionsPageBase<TUserRow>
AccountPasswordActionsPageBase<TUserRow>.ChangePassword method (2 of 2)
Changes the password of the current user after validating the old password and strength.
public virtual Result<ServiceResponse> ChangePassword(ChangePasswordRequest request,
ITwoLevelCache cache, IUserPasswordValidator passwordValidator,
IPasswordStrengthValidator passwordStrengthValidator, IUserRetrieveService userRetriever,
IOptions<MembershipSettings> membershipOptions,
IOptions<EnvironmentSettings> environmentOptions, ITextLocalizer localizer)
| parameter | description |
|---|---|
| request | The change password request. |
| cache | The two level cache. |
| passwordValidator | The password validator. |
| passwordStrengthValidator | The password strength validator. |
| userRetriever | The user retrieve service. |
| membershipOptions | The membership settings. |
| environmentOptions | The environment settings. |
| localizer | The text localizer. |
Return Value
The service response.
See Also
- class Result<TResponse>
- class ServiceResponse
- class ChangePasswordRequest
- interface ITwoLevelCache
- interface IUserPasswordValidator
- interface IPasswordStrengthValidator
- interface IUserRetrieveService
- class MembershipSettings
- class EnvironmentSettings
- interface ITextLocalizer
- class AccountPasswordActionsPageBase<TUserRow>