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