Documentation

PasswordHasherFactory
in package
implements PasswordHasherFactoryInterface

A generic hasher factory implementation.

Tags
author

Nicolas Grekas p@tchwork.com

author

Robin Chalas robin.chalas@gmail.com

Table of Contents

Interfaces

PasswordHasherFactoryInterface
PasswordHasherFactoryInterface to support different password hashers for different user accounts.

Properties

$passwordHashers  : array<string|int, mixed>

Methods

__construct()  : mixed
getPasswordHasher()  : PasswordHasherInterface
Returns the password hasher to use for the given user.
createHasher()  : PasswordHasherInterface
Creates the actual hasher instance.
getHasherConfigFromAlgorithm()  : array<string|int, mixed>

Properties

Methods

getHasherConfigFromAlgorithm()

private getHasherConfigFromAlgorithm(array<string|int, mixed> $config) : array<string|int, mixed>
Parameters
$config : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results