UserProviderFactoryInterface

interface UserProviderFactoryInterface UserProviderFactoryInterface is the interface for all user provider factories. Methods create(ContainerBuilder $container, $id, $config) getKey() addConfiguration(NodeDefinition $builder) Details create(ContainerBuilder $container, $id, $config) Parameters ContainerBuilder $container $id $config getKey() addConfigur

UserPasswordValidator

class UserPasswordValidator extends ConstraintValidator Constants PRETTY_DATE Whether to format {@link \DateTime} objects as RFC-3339 dates ("Y-m-d H:i:s"). OBJECT_TO_STRING Whether to cast objects with a "__toString()" method to strings. Methods initialize(ExecutionContextInterface $context) Initializes the constraint validator. from ConstraintValidator __construct(TokenStorageInterface $tokenStorage, EncoderFactoryInterface $encoderFactory) validate($password, Constrain

UserPasswordEncoderInterface::isPasswordValid()

bool isPasswordValid(UserInterface $user, string $raw) Parameters UserInterface $user The user string $raw A raw password Return Value bool true if the password is valid, false otherwise

UserPasswordEncoderInterface::encodePassword()

string encodePassword(UserInterface $user, string $plainPassword) Encodes the plain password. Parameters UserInterface $user The user string $plainPassword The password to encode Return Value string The encoded password

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. Parameters UserInterface $user The user string $plainPassword

UserPasswordEncoderCommand

class UserPasswordEncoderCommand extends ContainerAwareCommand Encode a user's password. Methods __construct(string|null $name = null) Constructor. from Command ignoreValidationErrors() Ignores validation errors. from Command setApplication(Application $application = null) Sets the application instance for this command. from Command setHelperSet(HelperSet $helperSet) Sets the helper set. from Command HelperSet getHelperSet() Gets the helper set. from Command Application

UserPasswordEncoder::isPasswordValid()

bool isPasswordValid(UserInterface $user, string $raw) Parameters UserInterface $user The user string $raw A raw password Return Value bool true if the password is valid, false otherwise

UserPasswordEncoder::encodePassword()

string encodePassword(UserInterface $user, string $plainPassword) Encodes the plain password. Parameters UserInterface $user The user string $plainPassword The password to encode Return Value string The encoded password

UserPasswordEncoder

class UserPasswordEncoder implements UserPasswordEncoderInterface A generic password encoder. Methods __construct(EncoderFactoryInterface $encoderFactory) string encodePassword(UserInterface $user, string $plainPassword) Encodes the plain password. bool isPasswordValid(UserInterface $user, string $raw) Details __construct(EncoderFactoryInterface $encoderFactory) Parameters EncoderFactoryInterface $encoderFactory The encoder factory

UserPassword

class UserPassword extends Constraint Constants DEFAULT_GROUP The name of the group given to all constraints with no explicit group CLASS_CONSTRAINT Marks a constraint that can be put onto classes PROPERTY_CONSTRAINT Marks a constraint that can be put onto properties Properties mixed $payload Domain-specific data attached to a constraint from Constraint array $groups The groups that the constraint belongs to from Constraint $message $service Methods static string g