AccountPasswordActionsPageBase<TUserRow>.ResetPassword method (1 of 2)
Validates the reset token and renders the reset password page if it is valid.
public virtual IActionResult ResetPassword(string t, ISqlConnections sqlConnections,
ITextLocalizer localizer, IOptions<MembershipSettings> options)
| parameter | description |
|---|---|
| t | The reset token. |
| sqlConnections | The SQL connections. |
| localizer | The text localizer. |
| options | The membership settings. |
Return Value
The reset password page or an error result.
See Also
- interface ISqlConnections
- interface ITextLocalizer
- class MembershipSettings
- class AccountPasswordActionsPageBase<TUserRow>
AccountPasswordActionsPageBase<TUserRow>.ResetPassword method (2 of 2)
Resets the password of the user identified by the reset token.
public virtual Result<ResetPasswordResponse> ResetPassword(ResetPasswordRequest request,
ITwoLevelCache cache, ISqlConnections sqlConnections, ITextLocalizer localizer,
IPasswordStrengthValidator passwordStrengthValidator,
IOptions<EnvironmentSettings> environmentOptions,
IOptions<MembershipSettings> membershipOptions)
| parameter | description |
|---|---|
| request | The reset password request. |
| cache | The two level cache. |
| sqlConnections | The SQL connections. |
| localizer | The text localizer. |
| passwordStrengthValidator | The password strength validator. |
| environmentOptions | The environment settings. |
| membershipOptions | The membership settings. |
Return Value
The reset password response.
See Also
- class Result<TResponse>
- class ResetPasswordResponse
- class ResetPasswordRequest
- interface ITwoLevelCache
- interface ISqlConnections
- interface ITextLocalizer
- interface IPasswordStrengthValidator
- class EnvironmentSettings
- class MembershipSettings
- class AccountPasswordActionsPageBase<TUserRow>