‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Controller\ResetPasswordController Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Controller\ResetPasswordController:
TYPO3\CMS\Backend\Template\PageRendererBackendSetupTrait

Public Member Functions

 __construct (protected readonly Context $context, protected readonly Locales $locales, protected readonly Features $features, protected readonly UriBuilder $uriBuilder, protected readonly PageRenderer $pageRenderer, protected readonly PasswordReset $passwordReset, protected readonly Typo3Information $typo3Information, protected readonly AuthenticationStyleInformation $authenticationStyleInformation, protected readonly ExtensionConfiguration $extensionConfiguration, protected readonly BackendViewFactory $backendViewFactory,)
 
 forgetPasswordFormAction (ServerRequestInterface $request)
 
 initiatePasswordResetAction (ServerRequestInterface $request)
 
 passwordResetAction (ServerRequestInterface $request)
 
 passwordResetFinishAction (ServerRequestInterface $request)
 

Protected Member Functions

 initializeForgetPasswordView (ServerRequestInterface $request)
 
 initializeResetPasswordView (ServerRequestInterface $request)
 
 initialize (ServerRequestInterface $request)
 
 provideCustomLoginStyling ()
 
 getPasswordRequirements ()
 
 getLanguageService ()
 
 getBackendUserAuthentication ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Backend\Template\PageRendererBackendSetupTrait
 setUpBasicPageRendererForBackend (PageRenderer $pageRenderer, ExtensionConfiguration $extensionConfiguration, ServerRequestInterface $request, LanguageService $languageService,)
 
 loadStylesheets (PageRenderer $pageRenderer)
 
 getBackendFavicon (ExtensionConfiguration $extensionConfiguration, ServerRequestInterface $request)
 
string getUriForFileName (ServerRequestInterface $request, string $filename)
 
 getNormalizedParams (ServerRequestInterface $request)
 

Protected Attributes

string $loginProvider = ''
 
ViewInterface $view
 

Detailed Description

Controller responsible for rendering and processing backend user password reset requests.

This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.

Definition at line 50 of file ResetPasswordController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Controller\ResetPasswordController::__construct ( protected readonly Context  $context,
protected readonly Locales  $locales,
protected readonly Features  $features,
protected readonly UriBuilder  $uriBuilder,
protected readonly PageRenderer  $pageRenderer,
protected readonly PasswordReset  $passwordReset,
protected readonly Typo3Information  $typo3Information,
protected readonly AuthenticationStyleInformation  $authenticationStyleInformation,
protected readonly ExtensionConfiguration  $extensionConfiguration,
protected readonly BackendViewFactory  $backendViewFactory 
)

Definition at line 56 of file ResetPasswordController.php.

Member Function Documentation

◆ forgetPasswordFormAction()

TYPO3\CMS\Backend\Controller\ResetPasswordController::forgetPasswordFormAction ( ServerRequestInterface  $request)

Show a form to enter an email address to request a password reset email.

Definition at line 72 of file ResetPasswordController.php.

References TYPO3\CMS\Backend\Controller\ResetPasswordController\initialize(), and TYPO3\CMS\Backend\Controller\ResetPasswordController\initializeForgetPasswordView().

◆ getBackendUserAuthentication()

TYPO3\CMS\Backend\Controller\ResetPasswordController::getBackendUserAuthentication ( )
protected

◆ getLanguageService()

TYPO3\CMS\Backend\Controller\ResetPasswordController::getLanguageService ( )
protected

◆ getPasswordRequirements()

TYPO3\CMS\Backend\Controller\ResetPasswordController::getPasswordRequirements ( )
protected

Definition at line 250 of file ResetPasswordController.php.

References $GLOBALS.

◆ initialize()

◆ initializeForgetPasswordView()

TYPO3\CMS\Backend\Controller\ResetPasswordController::initializeForgetPasswordView ( ServerRequestInterface  $request)
protected

◆ initializeResetPasswordView()

TYPO3\CMS\Backend\Controller\ResetPasswordController::initializeResetPasswordView ( ServerRequestInterface  $request)
protected

◆ initiatePasswordResetAction()

TYPO3\CMS\Backend\Controller\ResetPasswordController::initiatePasswordResetAction ( ServerRequestInterface  $request)

Validate the email address.

Restricted to POST method in Configuration/Backend/Routes.php

Parameters
ServerRequestInterface$request

Definition at line 87 of file ResetPasswordController.php.

References TYPO3\CMS\Backend\Controller\ResetPasswordController\initialize(), and TYPO3\CMS\Backend\Controller\ResetPasswordController\initializeForgetPasswordView().

◆ passwordResetAction()

TYPO3\CMS\Backend\Controller\ResetPasswordController::passwordResetAction ( ServerRequestInterface  $request)

◆ passwordResetFinishAction()

TYPO3\CMS\Backend\Controller\ResetPasswordController::passwordResetFinishAction ( ServerRequestInterface  $request)

Updates the password in the database.

Restricted to POST method in Configuration/Backend/Routes.php

Parameters
ServerRequestInterface$request

Definition at line 129 of file ResetPasswordController.php.

References TYPO3\CMS\Backend\Controller\ResetPasswordController\initialize(), TYPO3\CMS\Backend\Controller\ResetPasswordController\initializeResetPasswordView(), and TYPO3\CMS\Backend\Controller\ResetPasswordController\passwordResetAction().

◆ provideCustomLoginStyling()

TYPO3\CMS\Backend\Controller\ResetPasswordController::provideCustomLoginStyling ( )
protected

Member Data Documentation

◆ $loginProvider

string TYPO3\CMS\Backend\Controller\ResetPasswordController::$loginProvider = ''
protected

Definition at line 53 of file ResetPasswordController.php.

◆ $view

ViewInterface TYPO3\CMS\Backend\Controller\ResetPasswordController::$view
protected

Definition at line 54 of file ResetPasswordController.php.