Свойство | Тип | Описание | |
---|---|---|---|
$algorithm | |||
$emailCanonicalizer | |||
$encoderFactory | |||
$usernameCanonicalizer |
Метод | Описание | |
---|---|---|
__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} |
Метод | Описание | |
---|---|---|
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 createUser ( ) : |
||
Результат |
public findUserByEmail ( string $email ) : |
||
string | ||
Результат |
public findUserByUsername ( string $username ) : |
||
$username | string | |
Результат |
public findUserByUsernameOrEmail ( string $usernameOrEmail ) : |
||
$usernameOrEmail | string | |
Результат |
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 | |
Результат |
public loadUserByUsername ( string $username ) : Symfony\Component\Security\Core\User\AccountInterface | ||
$username | string | |
Результат | 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 |