RecoveryService

Internal

this is a concrete TYPO3 implementation and solely used for EXT:felogin and not part of TYPO3's Core API.

Table of Contents

Properties

$eventDispatcher  : EventDispatcherInterface
$mailer  : MailerInterface
$recoveryConfiguration  : RecoveryConfiguration
$settings  : array
$templatedEmailFactory  : TemplatedEmailFactory
$uriBuilder  : UriBuilder

Methods

__construct()  : mixed
sendRecoveryEmail()  : void
Sends an email with an absolute link including the given forgot hash to the passed user with instructions to recover the account.
getEmailSubject()  : string
getReceiverName()  : string
Get display name from values. Fallback to username if none of the "_name" fields is set.
prepareMail()  : FluidEmail
Create email object from configuration.

Properties

$eventDispatcher

protected EventDispatcherInterface $eventDispatcher

Methods

__construct()

public __construct(MailerInterface $mailer, TemplatedEmailFactory $templatedEmailFactory, EventDispatcherInterface $eventDispatcher, ConfigurationManagerInterface $configurationManager, RecoveryConfiguration $recoveryConfiguration, UriBuilder $uriBuilder) : mixed
Parameters
$mailer : MailerInterface
$templatedEmailFactory : TemplatedEmailFactory
$eventDispatcher : EventDispatcherInterface
$configurationManager : ConfigurationManagerInterface
$recoveryConfiguration : RecoveryConfiguration
$uriBuilder : UriBuilder

sendRecoveryEmail()

Sends an email with an absolute link including the given forgot hash to the passed user with instructions to recover the account.

public sendRecoveryEmail(RequestInterface $request, array $userData, string $hash) : void
Parameters
$request : RequestInterface
$userData : array
$hash : string
Tags
throws
TransportExceptionInterface

getEmailSubject()

protected getEmailSubject() : string
Return values
string

getReceiverName()

Get display name from values. Fallback to username if none of the "_name" fields is set.

protected getReceiverName(array $userInformation) : string
Parameters
$userInformation : array
Return values
string
On this page

Search results