Свойство | Type | Description | |
---|---|---|---|
$hashStrength | integer | ||
$loggerFlash | Bolt\Logger\FlashLoggerInterface | ||
$passwordFactory | PasswordLib\Password\Factory | ||
$schemaManager | Bolt\Storage\Database\Schema\SchemaManagerInterface | ||
$timedRecord | |||
$timedRecordsEnabled | boolean | ||
$urlGenerator | Symfony\Component\Routing\Generator\UrlGeneratorInterface |
Méthode | Description | |
---|---|---|
__construct ( |
Constructor. | |
getSubscribedEvents ( ) | ||
onKernelRequest ( |
Kernel request listener callback. | |
onPostHydrate ( Bolt\Events\HydrationEvent $event ) | Post hydration storage event. | |
onUserEntityPreSave ( Bolt\Events\StorageEvent $event ) | Pre-save storage event for user entities. |
Méthode | Description | |
---|---|---|
passwordHash ( Bolt\Storage\Entity\Users $usersEntity ) | Hash user passwords on save. | |
schemaCheck ( |
Trigger database schema checks if required. |
Méthode | Description | |
---|---|---|
getValidHash ( string $password ) : string | Return a valid hash for a password, of if the password is already hashed just return as is. |
public __construct ( |
||
$timedRecord | ||
$schemaManager | Bolt\Storage\Database\Schema\SchemaManagerInterface | |
$urlGenerator | Symfony\Component\Routing\Generator\UrlGeneratorInterface | |
$loggerFlash | Bolt\Logger\FlashLoggerInterface | |
$passwordFactory | PasswordLib\Password\Factory | |
$hashStrength | integer | |
$timedRecordsEnabled | boolean |
public onKernelRequest ( |
||
$event |
public onPostHydrate ( Bolt\Events\HydrationEvent $event ) | ||
$event | Bolt\Events\HydrationEvent |
public onUserEntityPreSave ( Bolt\Events\StorageEvent $event ) | ||
$event | Bolt\Events\StorageEvent |
protected passwordHash ( Bolt\Storage\Entity\Users $usersEntity ) | ||
$usersEntity | Bolt\Storage\Entity\Users |
protected schemaCheck ( |
||
$event |
protected FlashLoggerInterface,Bolt\Logger $loggerFlash | ||
Résultat | Bolt\Logger\FlashLoggerInterface |
protected Factory,PasswordLib\Password $passwordFactory | ||
Résultat | PasswordLib\Password\Factory |
protected SchemaManagerInterface,Bolt\Storage\Database\Schema $schemaManager | ||
Résultat | Bolt\Storage\Database\Schema\SchemaManagerInterface |
protected TimedRecord,Bolt\Storage\EventProcessor $timedRecord | ||
Résultat |