interface UserPasswordEncoderInterface
UserPasswordEncoderInterface is the interface for the password encoder service.
string | encodePassword(UserInterface $user, string $plainPassword) Encodes the plain password. | |
bool | isPasswordValid(UserInterface $user, string $raw) |
Encodes the plain password.
UserInterface | $user | The user |
string | $plainPassword | The password to encode |
string | The encoded password |
UserInterface | $user | The user |
string | $raw | A raw password |
bool | true if the password is valid, false otherwise |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Security/Core/Encoder/UserPasswordEncoderInterface.html