UserPasswordEncoderInterface
UserPasswordEncoderInterface
interface UserPasswordEncoderInterface
UserPasswordEncoderInterface is the interface for the password encoder service.
Methods
string | encodePassword(UserInterface $user, string $plainPassword) Encodes the plain password. | |
bool | isPasswordValid(UserInterface $user, string $raw) |
Details
string encodePassword(UserInterface $user, string $plainPassword)
Encodes the plain password.
bool isPasswordValid(UserInterface $user, string $raw)
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Security/Core/Encoder/UserPasswordEncoderInterface.html