메소드 | 설명 | |
---|---|---|
__construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, WellCommerce\Bundle\CoreBundle\Helper\Request\RequestHelperInterface $requestHelper, array $firewallMap = [] ) | SecurityHelper constructor. | |
generateRandomPassword ( integer $length = 8 ) : string | ||
getAuthenticatedAdmin ( ) : WellCommerce\Bundle\AdminBundle\Entity\UserInterface | ||
getAuthenticatedClient ( ) : WellCommerce\Bundle\ClientBundle\Entity\ClientInterface | ||
getCurrentAdmin ( ) | ||
getCurrentClient ( ) | ||
getCurrentUser ( ) | ||
getFirewallNameForRequest ( |
||
isActiveAdminFirewall ( ) : boolean | ||
isActiveFirewall ( string $name ) : boolean |
public __construct ( Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface $tokenStorage, WellCommerce\Bundle\CoreBundle\Helper\Request\RequestHelperInterface $requestHelper, array $firewallMap = [] ) | ||
$tokenStorage | Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface | |
$requestHelper | WellCommerce\Bundle\CoreBundle\Helper\Request\RequestHelperInterface | |
$firewallMap | array |
public generateRandomPassword ( integer $length = 8 ) : string | ||
$length | integer | |
리턴 | string |
public getAuthenticatedAdmin ( ) : WellCommerce\Bundle\AdminBundle\Entity\UserInterface | ||
리턴 | WellCommerce\Bundle\AdminBundle\Entity\UserInterface |
public getAuthenticatedClient ( ) : WellCommerce\Bundle\ClientBundle\Entity\ClientInterface | ||
리턴 | WellCommerce\Bundle\ClientBundle\Entity\ClientInterface |
public getFirewallNameForRequest ( |
||
$request |
public isActiveFirewall ( string $name ) : boolean | ||
$name | string | |
리턴 | boolean |