Skip to content

AccountPasswordActionsPageBase<TUserRow> class

namespace: Serenity.Extensions   assembly: Serenity.Extensions

Base class for account password action pages, such as change password, set password, forgot password, and reset password.

public abstract class AccountPasswordActionsPageBase<TUserRow> : MembershipPageBase<TUserRow>
    where TUserRow : class, IRow, IIdRow, IEmailRow, IPasswordRow, new()

Public Members

name description
virtual ChangePassword(…) Renders the change password page, or the set password page if the user has no password set. (2 methods)
virtual ForgotPassword() Renders the forgot password page.
virtual ForgotPassword(…) Sends a reset password email to the user with the specified email address.
virtual ResetPassword(…) Validates the reset token and renders the reset password page if it is valid. (2 methods)
virtual SendResetPassword(…) Sends a reset password email to the current user, or returns a demo link in public demo mode.
SetPassword() Renders the set password page.

Protected Members

name description
AccountPasswordActionsPageBase() The default constructor.
virtual ModuleFolder { get; } The folder containing the password action module scripts.
virtual GenerateResetPasswordToken(…) Generates a protected reset password token for the specified user.
virtual GetForgotPasswordPageModel() Gets the module page model for the forgot password page.
virtual GetResetPasswordPageModel(…) Gets the module page model for the reset password page.
virtual ModulePath(…) Gets the module script path for the specified key.

See Also