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<string|int, mixed>
$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

$settings

protected array<string|int, mixed> $settings

Methods

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<string|int, mixed> $userData, string $hash) : void
Parameters
$request : RequestInterface
$userData : array<string|int, mixed>
$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<string|int, mixed> $userInformation) : string
Parameters
$userInformation : array<string|int, mixed>
Return values
string

prepareMail()

Create email object from configuration.

protected prepareMail(RequestInterface $request, Address $receiver, string $hash, array<string|int, mixed> $userData) : FluidEmail
Parameters
$request : RequestInterface
$receiver : Address
$hash : string
$userData : array<string|int, mixed>
Return values
FluidEmail

        
On this page

Search results