Log in
Helper

Data

Magento\User\Helper\Data

What it does

This helper class manages admin user password reset functionality in Magento 2.

Developers use it to generate secure tokens for password reset links and retrieve the configured expiration period for those links from the admin security settings.

It's primarily used during the admin password reset workflow to ensure secure and time-limited password recovery.

Public Methods

  • generateResetPasswordLinkToken()
  • getResetPasswordLinkExpirationPeriod()