PasswordHasherFactoryInterface
in
PasswordHasherFactoryInterface to support different password hashers for different user accounts.
Tags
Table of Contents
Methods
- getPasswordHasher() : PasswordHasherInterface
- Returns the password hasher to use for the given user.
Methods
getPasswordHasher()
Returns the password hasher to use for the given user.
public
getPasswordHasher(string|PasswordAuthenticatedUserInterface|PasswordHasherAwareInterface $user) : PasswordHasherInterface
Parameters
- $user : string|PasswordAuthenticatedUserInterface|PasswordHasherAwareInterface