RecoveryConfiguration implements LoggerAwareInterface uses LoggerAwareTrait
this is a concrete TYPO3 implementation and solely used for EXT:felogin and not part of TYPO3's Core API.
Table of Contents
Interfaces
- LoggerAwareInterface
Properties
- $context : Context
- $forgotHash : string
- $mailTemplateName : string
- $replyTo : Address|null
- $sender : Address
- $settings : array<string|int, mixed>
- $timestamp : int
Methods
- __construct() : mixed
- getForgotHash() : string
- Returns the forgot hash.
- getLifeTimeTimestamp() : int
- Returns TTL timestamp of the forgot hash
- getMailTemplateName() : string
- Returns email template name configured in TypoScript
- getMailTemplatePaths() : TemplatePaths
- Returns an instance of TemplatePaths with paths configured in felogin TypoScript and paths configured in $GLOBALS['TYPO3_CONF_VARS']['MAIL'].
- getReplyTo() : Address|null
- Returns reply-to address if configured otherwise null.
- getSender() : Address
- Returns the sender. Normally the current typo3 installation.
- generateHash() : string
- resolveFromTypoScript() : void
Properties
$context
protected
Context
$context
$forgotHash
protected
string
$forgotHash
$mailTemplateName
protected
string
$mailTemplateName
$replyTo
protected
Address|null
$replyTo
$sender
protected
Address
$sender
$settings
protected
array<string|int, mixed>
$settings
$timestamp
protected
int
$timestamp
Methods
__construct()
public
__construct(Context $context, ConfigurationManager $configurationManager, Random $random, HashService $hashService) : mixed
Parameters
- $context : Context
- $configurationManager : ConfigurationManager
- $random : Random
- $hashService : HashService
Tags
getForgotHash()
Returns the forgot hash.
public
getForgotHash() : string
Return values
stringgetLifeTimeTimestamp()
Returns TTL timestamp of the forgot hash
public
getLifeTimeTimestamp() : int
Return values
intgetMailTemplateName()
Returns email template name configured in TypoScript
public
getMailTemplateName() : string
Return values
stringgetMailTemplatePaths()
Returns an instance of TemplatePaths with paths configured in felogin TypoScript and paths configured in $GLOBALS['TYPO3_CONF_VARS']['MAIL'].
public
getMailTemplatePaths() : TemplatePaths
Return values
TemplatePathsgetReplyTo()
Returns reply-to address if configured otherwise null.
public
getReplyTo() : Address|null
Return values
Address|nullgetSender()
Returns the sender. Normally the current typo3 installation.
public
getSender() : Address
Return values
AddressgenerateHash()
protected
generateHash(Random $random, HashService $hashService) : string
Parameters
- $random : Random
- $hashService : HashService
Return values
stringresolveFromTypoScript()
protected
resolveFromTypoScript() : void