Scheb\TwoFactorBundle\Security\TwoFactor\Trusted\TrustedFilter::__construct PHP Method

__construct() public method

Construct the trusted computer layer.
public __construct ( Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationHandlerInterface $authHandler, TrustedCookieManager $cookieManager, boolean $useTrustedOption, string $trustedName )
$authHandler Scheb\TwoFactorBundle\Security\TwoFactor\AuthenticationHandlerInterface
$cookieManager TrustedCookieManager
$useTrustedOption boolean
$trustedName string
    public function __construct(AuthenticationHandlerInterface $authHandler, TrustedCookieManager $cookieManager, $useTrustedOption, $trustedName)
    {
        $this->authHandler = $authHandler;
        $this->cookieManager = $cookieManager;
        $this->useTrustedOption = $useTrustedOption;
        $this->trustedName = $trustedName;
    }