PHP 클래스 Elcodi\Store\UserBundle\EventListener\RememberPasswordCredentialsEventListener

파일 보기 프로젝트 열기: elcodi/bamboo

공개 메소드들

메소드 설명
__construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, string $providerKey ) Build method
giveCredentialsWithNewPassword ( Elcodi\Component\User\Event\PasswordRecoverEvent $event ) on Password Recover event

메소드 상세

__construct() 공개 메소드

Build method
public __construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, string $providerKey )
$tokenStorage Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface Token storage
$providerKey string Provider key

giveCredentialsWithNewPassword() 공개 메소드

When a password is recovered, we must always create new token with current user. It means that recover a password always will mean log in the website
public giveCredentialsWithNewPassword ( Elcodi\Component\User\Event\PasswordRecoverEvent $event )
$event Elcodi\Component\User\Event\PasswordRecoverEvent Password recover event