ResetPasswordController uses PageRendererBackendSetupTrait

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

Internal

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

Attributes
#[AsController]

Table of Contents

Properties

$authenticationStyleInformation  : AuthenticationStyleInformation
$backendViewFactory  : BackendViewFactory
$context  : Context
$extensionConfiguration  : ExtensionConfiguration
$features  : Features
$locales  : Locales
$loginProvider  : string
$pageRenderer  : PageRenderer
$passwordReset  : PasswordReset
$typo3Information  : Typo3Information
$uriBuilder  : UriBuilder
$view  : ViewInterface

Methods

__construct()  : mixed
forgetPasswordFormAction()  : ResponseInterface
Show a form to enter an email address to request a password reset email.
initiatePasswordResetAction()  : ResponseInterface
Validate the email address.
passwordResetAction()  : ResponseInterface
Validates the link and show a form to enter the new password.
passwordResetFinishAction()  : ResponseInterface
Updates the password in the database.
getBackendFavicon()  : string
Retrieves configured favicon for backend with fallback.
getBackendUserAuthentication()  : BackendUserAuthentication
getLanguageService()  : LanguageService
getNormalizedParams()  : NormalizedParams
getPasswordRequirements()  : array<string|int, mixed>
getRegisteredStylesheetFolders()  : array<string|int, mixed>
Return an array of all stylesheet directories registered via $GLOBAlS['TBE_STYLES']['skins'].
getUriForFileName()  : string
Returns the uri of a relative reference, resolves the "EXT:" prefix (way of referring to files inside extensions) and checks that the file is inside the project root of the TYPO3 installation
initialize()  : void
initializeForgetPasswordView()  : void
initializeResetPasswordView()  : void
loadStylesheets()  : void
Load all registered stylesheets from $GLOBALS['TBE_STYLES'] "API"
provideCustomLoginStyling()  : void
setUpBasicPageRendererForBackend()  : void
Sets mandatory parameters for the PageRenderer.

Properties

$loginProvider

protected string $loginProvider = ''

Methods

__construct()

public __construct(Context $context, Locales $locales, Features $features, UriBuilder $uriBuilder, PageRenderer $pageRenderer, PasswordReset $passwordReset, Typo3Information $typo3Information, AuthenticationStyleInformation $authenticationStyleInformation, ExtensionConfiguration $extensionConfiguration, BackendViewFactory $backendViewFactory) : mixed
Parameters
$context : Context
$locales : Locales
$features : Features
$uriBuilder : UriBuilder
$pageRenderer : PageRenderer
$passwordReset : PasswordReset
$typo3Information : Typo3Information
$authenticationStyleInformation : AuthenticationStyleInformation
$extensionConfiguration : ExtensionConfiguration
$backendViewFactory : BackendViewFactory

forgetPasswordFormAction()

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

public forgetPasswordFormAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

initiatePasswordResetAction()

Validate the email address.

public initiatePasswordResetAction(ServerRequestInterface $request) : ResponseInterface

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

Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

passwordResetAction()

Validates the link and show a form to enter the new password.

public passwordResetAction(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

passwordResetFinishAction()

Updates the password in the database.

public passwordResetFinishAction(ServerRequestInterface $request) : ResponseInterface

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

Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

getBackendFavicon()

Retrieves configured favicon for backend with fallback.

protected getBackendFavicon(ExtensionConfiguration $extensionConfiguration, ServerRequestInterface $request) : string
Parameters
$extensionConfiguration : ExtensionConfiguration
$request : ServerRequestInterface
Return values
string

getPasswordRequirements()

protected getPasswordRequirements() : array<string|int, mixed>
Return values
array<string|int, mixed>

getRegisteredStylesheetFolders()

Return an array of all stylesheet directories registered via $GLOBAlS['TBE_STYLES']['skins'].

protected getRegisteredStylesheetFolders() : array<string|int, mixed>
Deprecated

will be removed in TYPO3 v13.0. Use $GLOBALS['TYPO3_CONF_VARS']['BE']['stylesheets'] instead.

Return values
array<string|int, mixed>

getUriForFileName()

Returns the uri of a relative reference, resolves the "EXT:" prefix (way of referring to files inside extensions) and checks that the file is inside the project root of the TYPO3 installation

protected getUriForFileName(ServerRequestInterface $request, string $filename) : string
Parameters
$request : ServerRequestInterface
$filename : string

The input filename/filepath to evaluate

Return values
string

Returns the filename of $filename if valid, otherwise blank string.

initialize()

protected initialize(ServerRequestInterface $request) : void
Parameters
$request : ServerRequestInterface

initializeForgetPasswordView()

protected initializeForgetPasswordView(ServerRequestInterface $request) : void
Parameters
$request : ServerRequestInterface

initializeResetPasswordView()

protected initializeResetPasswordView(ServerRequestInterface $request) : void
Parameters
$request : ServerRequestInterface

loadStylesheets()

Load all registered stylesheets from $GLOBALS['TBE_STYLES'] "API"

protected loadStylesheets(PageRenderer $pageRenderer) : void
Parameters
$pageRenderer : PageRenderer

provideCustomLoginStyling()

protected provideCustomLoginStyling() : void

        
On this page

Search results