Property | Type | Description | |
---|---|---|---|
$algorithm | |||
$emailCanonicalizer | |||
$encoderFactory | |||
$usernameCanonicalizer |
Method | Description | |
---|---|---|
__construct ( Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface $encoderFactory, string $algorithm, FOS\UserBundle\Util\CanonicalizerInterface $usernameCanonicalizer, FOS\UserBundle\Util\CanonicalizerInterface $emailCanonicalizer ) | Constructor. | |
createUser ( ) : |
Returns an empty user instance | |
findUserByConfirmationToken ( $token ) | ||
findUserByEmail ( string $email ) : |
Finds a user by email | |
findUserByUsername ( string $username ) : |
Finds a user by username | |
findUserByUsernameOrEmail ( string $usernameOrEmail ) : |
Finds a user either by email, or username | |
loadUserByAccount ( Symfony\Component\Security\Core\User\AccountInterface $user ) : |
Finds a user by account | |
loadUserByUsername ( string $username ) : Symfony\Component\Security\Core\User\AccountInterface | Loads a user by username | |
supportsClass ( $class ) | {@inheritDoc} | |
updateCanonicalFields ( FOS\UserBundle\Model\UserInterface $user ) | {@inheritDoc} | |
updatePassword ( FOS\UserBundle\Model\UserInterface $user ) | {@inheritDoc} |
Method | Description | |
---|---|---|
getEncoder ( FOS\UserBundle\Model\UserInterface $user ) |
public __construct ( Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface $encoderFactory, string $algorithm, FOS\UserBundle\Util\CanonicalizerInterface $usernameCanonicalizer, FOS\UserBundle\Util\CanonicalizerInterface $emailCanonicalizer ) | ||
$encoderFactory | Symfony\Component\Security\Core\Encoder\EncoderFactoryInterface | |
$algorithm | string | |
$usernameCanonicalizer | FOS\UserBundle\Util\CanonicalizerInterface | |
$emailCanonicalizer | FOS\UserBundle\Util\CanonicalizerInterface |
public findUserByEmail ( string $email ) : |
||
string | ||
return |
public findUserByUsername ( string $username ) : |
||
$username | string | |
return |
public findUserByUsernameOrEmail ( string $usernameOrEmail ) : |
||
$usernameOrEmail | string | |
return |
protected getEncoder ( FOS\UserBundle\Model\UserInterface $user ) | ||
$user | FOS\UserBundle\Model\UserInterface |
public loadUserByAccount ( Symfony\Component\Security\Core\User\AccountInterface $user ) : |
||
$user | Symfony\Component\Security\Core\User\AccountInterface | |
return |
public loadUserByUsername ( string $username ) : Symfony\Component\Security\Core\User\AccountInterface | ||
$username | string | |
return | Symfony\Component\Security\Core\User\AccountInterface |
public updateCanonicalFields ( FOS\UserBundle\Model\UserInterface $user ) | ||
$user | FOS\UserBundle\Model\UserInterface |
public updatePassword ( FOS\UserBundle\Model\UserInterface $user ) | ||
$user | FOS\UserBundle\Model\UserInterface |