/**
  * @param FactoryInterface $factory
  * @param int              $lifetime
  * @param string           $sourceClass
  * @param TokenHashes      $hashes
  * @param string           $header Header to read token hash from.
  */
 public function __construct(FactoryInterface $factory, $lifetime, $sourceClass, TokenHashes $hashes, $header)
 {
     parent::__construct($factory, $lifetime, $sourceClass, $hashes);
     $this->header = $header;
 }
 /**
  * @param FactoryInterface $factory
  * @param int              $lifetime
  * @param string           $sourceClass
  * @param HttpConfig       $httpConfig
  * @param TokenHashes      $hashes
  * @param string           $cookie
  */
 public function __construct(FactoryInterface $factory, $lifetime, $sourceClass, HttpConfig $httpConfig, TokenHashes $hashes, $cookie)
 {
     parent::__construct($factory, $lifetime, $sourceClass, $hashes);
     $this->httpConfig = $httpConfig;
     $this->cookie = $cookie;
 }