PasswordEncoderInterface
interface PasswordEncoderInterface
PasswordEncoderInterface is the interface for all encoders.
Methods
string
encodePassword(string $raw, string $salt)
Encodes the raw password.
bool
isPasswordValid(string $encoded, string $raw, string $salt)
Checks a raw password against an encoded password.