var/cache/dev/ContainerXItpFJU/JWTTokenAuthenticator_3af84d5.php line 8

Open in your IDE?
  1. <?php
  2. namespace ContainerXItpFJU;
  3. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Authenticator/AuthenticatorInterface.php';
  4. include_once \dirname(__DIR__4).'/vendor/symfony/security-http/Authenticator/AbstractAuthenticator.php';
  5. include_once \dirname(__DIR__4).'/src/Security/JWTTokenAuthenticator.php';
  6. class JWTTokenAuthenticator_3af84d5 extends \App\Security\JWTTokenAuthenticator implements \ProxyManager\Proxy\VirtualProxyInterface
  7. {
  8.     /**
  9.      * @var \App\Security\JWTTokenAuthenticator|null wrapped object, if the proxy is initialized
  10.      */
  11.     private $valueHolder4046c null;
  12.     /**
  13.      * @var \Closure|null initializer responsible for generating the wrapped object
  14.      */
  15.     private $initializer9f5cb null;
  16.     /**
  17.      * @var bool[] map of public properties of the parent class
  18.      */
  19.     private static $publicProperties2dd98 = [
  20.         
  21.     ];
  22.     public function supports(\Symfony\Component\HttpFoundation\Request $request) : ?bool
  23.     {
  24.         $this->initializer9f5cb && ($this->initializer9f5cb->__invoke($valueHolder4046c$this'supports', array('request' => $request), $this->initializer9f5cb) || 1) && $this->valueHolder4046c $valueHolder4046c;
  25.         return $this->valueHolder4046c->supports($request);
  26.     }
  27.     public function authenticate(\Symfony\Component\HttpFoundation\Request $request) : \Symfony\Component\Security\Http\Authenticator\Passport\Passport
  28.     {
  29.         $this->initializer9f5cb && ($this->initializer9f5cb->__invoke($valueHolder4046c$this'authenticate', array('request' => $request), $this->initializer9f5cb) || 1) && $this->valueHolder4046c $valueHolder4046c;
  30.         return $this->valueHolder4046c->authenticate($request);
  31.     }
  32.     public function onAuthenticationSuccess(\Symfony\Component\HttpFoundation\Request $request\Symfony\Component\Security\Core\Authentication\Token\TokenInterface $tokenstring $firewallName) : ?\Symfony\Component\HttpFoundation\Response
  33.     {
  34.         $this->initializer9f5cb && ($this->initializer9f5cb->__invoke($valueHolder4046c$this'onAuthenticationSuccess', array('request' => $request'token' => $token'firewallName' => $firewallName), $this->initializer9f5cb) || 1) && $this->valueHolder4046c $valueHolder4046c;
  35.         return $this->valueHolder4046c->onAuthenticationSuccess($request$token$firewallName);
  36.     }
  37.     public function onAuthenticationFailure(\Symfony\Component\HttpFoundation\Request $request\Symfony\Component\Security\Core\Exception\AuthenticationException $exception) : ?\Symfony\Component\HttpFoundation\Response
  38.     {
  39.         $this->initializer9f5cb && ($this->initializer9f5cb->__invoke($valueHolder4046c$this'onAuthenticationFailure', array('request' => $request'exception' => $exception), $this->initializer9f5cb) || 1) && $this->valueHolder4046c $valueHolder4046c;
  40.         return $this->valueHolder4046c->onAuthenticationFailure($request$exception);
  41.     }
  42.     public function createToken(\Symfony\Component\Security\Http\Authenticator\Passport\Passport $passportstring $firewallName) : \Symfony\Component\Security\Core\Authentication\Token\TokenInterface
  43.     {
  44.         $this->initializer9f5cb && ($this->initializer9f5cb->__invoke($valueHolder4046c$this'createToken', array('passport' => $passport'firewallName' => $firewallName), $this->initializer9f5cb) || 1) && $this->valueHolder4046c $valueHolder4046c;
  45.         return $this->valueHolder4046c->createToken($passport$firewallName);
  46.     }
  47.     public function createAuthenticatedToken(\Symfony\Component\Security\Http\Authenticator\Passport\PassportInterface $passportstring $firewallName) : \Symfony\Component\Security\Core\Authentication\Token\TokenInterface
  48.     {
  49.         $this->initializer9f5cb && ($this->initializer9f5cb->__invoke($valueHolder4046c$this'createAuthenticatedToken', array('passport' => $passport'firewallName' => $firewallName), $this->initializer9f5cb) || 1) && $this->valueHolder4046c $valueHolder4046c;
  50.         return $this->valueHolder4046c->createAuthenticatedToken($passport$firewallName);
  51.     }
  52.     /**
  53.      * Constructor for lazy initialization
  54.      *
  55.      * @param \Closure|null $initializer
  56.      */
  57.     public static function staticProxyConstructor($initializer)
  58.     {
  59.         static $reflection;
  60.         $reflection $reflection ?? new \ReflectionClass(__CLASS__);
  61.         $instance   $reflection->newInstanceWithoutConstructor();
  62.         \Closure::bind(function (\App\Security\JWTTokenAuthenticator $instance) {
  63.             unset($instance->jwtManager$instance->userProvider);
  64.         }, $instance'App\\Security\\JWTTokenAuthenticator')->__invoke($instance);
  65.         $instance->initializer9f5cb $initializer;
  66.         return $instance;
  67.     }
  68.     public function __construct(\Lexik\Bundle\JWTAuthenticationBundle\Services\JWTTokenManagerInterface $jwtManager\Symfony\Component\Security\Core\User\UserProviderInterface $userProvider)
  69.     {
  70.         static $reflection;
  71.         if (! $this->valueHolder4046c) {
  72.             $reflection $reflection ?? new \ReflectionClass('App\\Security\\JWTTokenAuthenticator');
  73.             $this->valueHolder4046c $reflection->newInstanceWithoutConstructor();
  74.         \Closure::bind(function (\App\Security\JWTTokenAuthenticator $instance) {
  75.             unset($instance->jwtManager$instance->userProvider);
  76.         }, $this'App\\Security\\JWTTokenAuthenticator')->__invoke($this);
  77.         }
  78.         $this->valueHolder4046c->__construct($jwtManager$userProvider);
  79.     }
  80.     public function & __get($name)
  81.     {
  82.         $this->initializer9f5cb && ($this->initializer9f5cb->__invoke($valueHolder4046c$this'__get', ['name' => $name], $this->initializer9f5cb) || 1) && $this->valueHolder4046c $valueHolder4046c;
  83.         if (isset(self::$publicProperties2dd98[$name])) {
  84.             return $this->valueHolder4046c->$name;
  85.         }
  86.         $realInstanceReflection = new \ReflectionClass('App\\Security\\JWTTokenAuthenticator');
  87.         if (! $realInstanceReflection->hasProperty($name)) {
  88.             $targetObject $this->valueHolder4046c;
  89.             $backtrace debug_backtrace(false1);
  90.             trigger_error(
  91.                 sprintf(
  92.                     'Undefined property: %s::$%s in %s on line %s',
  93.                     $realInstanceReflection->getName(),
  94.                     $name,
  95.                     $backtrace[0]['file'],
  96.                     $backtrace[0]['line']
  97.                 ),
  98.                 \E_USER_NOTICE
  99.             );
  100.             return $targetObject->$name;
  101.         }
  102.         $targetObject $this->valueHolder4046c;
  103.         $accessor = function & () use ($targetObject$name) {
  104.             return $targetObject->$name;
  105.         };
  106.         $backtrace debug_backtrace(true2);
  107.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  108.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  109.         $returnValue = & $accessor();
  110.         return $returnValue;
  111.     }
  112.     public function __set($name$value)
  113.     {
  114.         $this->initializer9f5cb && ($this->initializer9f5cb->__invoke($valueHolder4046c$this'__set', array('name' => $name'value' => $value), $this->initializer9f5cb) || 1) && $this->valueHolder4046c $valueHolder4046c;
  115.         $realInstanceReflection = new \ReflectionClass('App\\Security\\JWTTokenAuthenticator');
  116.         if (! $realInstanceReflection->hasProperty($name)) {
  117.             $targetObject $this->valueHolder4046c;
  118.             $targetObject->$name $value;
  119.             return $targetObject->$name;
  120.         }
  121.         $targetObject $this->valueHolder4046c;
  122.         $accessor = function & () use ($targetObject$name$value) {
  123.             $targetObject->$name $value;
  124.             return $targetObject->$name;
  125.         };
  126.         $backtrace debug_backtrace(true2);
  127.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  128.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  129.         $returnValue = & $accessor();
  130.         return $returnValue;
  131.     }
  132.     public function __isset($name)
  133.     {
  134.         $this->initializer9f5cb && ($this->initializer9f5cb->__invoke($valueHolder4046c$this'__isset', array('name' => $name), $this->initializer9f5cb) || 1) && $this->valueHolder4046c $valueHolder4046c;
  135.         $realInstanceReflection = new \ReflectionClass('App\\Security\\JWTTokenAuthenticator');
  136.         if (! $realInstanceReflection->hasProperty($name)) {
  137.             $targetObject $this->valueHolder4046c;
  138.             return isset($targetObject->$name);
  139.         }
  140.         $targetObject $this->valueHolder4046c;
  141.         $accessor = function () use ($targetObject$name) {
  142.             return isset($targetObject->$name);
  143.         };
  144.         $backtrace debug_backtrace(true2);
  145.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  146.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  147.         $returnValue $accessor();
  148.         return $returnValue;
  149.     }
  150.     public function __unset($name)
  151.     {
  152.         $this->initializer9f5cb && ($this->initializer9f5cb->__invoke($valueHolder4046c$this'__unset', array('name' => $name), $this->initializer9f5cb) || 1) && $this->valueHolder4046c $valueHolder4046c;
  153.         $realInstanceReflection = new \ReflectionClass('App\\Security\\JWTTokenAuthenticator');
  154.         if (! $realInstanceReflection->hasProperty($name)) {
  155.             $targetObject $this->valueHolder4046c;
  156.             unset($targetObject->$name);
  157.             return;
  158.         }
  159.         $targetObject $this->valueHolder4046c;
  160.         $accessor = function () use ($targetObject$name) {
  161.             unset($targetObject->$name);
  162.             return;
  163.         };
  164.         $backtrace debug_backtrace(true2);
  165.         $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  166.         $accessor $accessor->bindTo($scopeObjectget_class($scopeObject));
  167.         $accessor();
  168.     }
  169.     public function __clone()
  170.     {
  171.         $this->initializer9f5cb && ($this->initializer9f5cb->__invoke($valueHolder4046c$this'__clone', array(), $this->initializer9f5cb) || 1) && $this->valueHolder4046c $valueHolder4046c;
  172.         $this->valueHolder4046c = clone $this->valueHolder4046c;
  173.     }
  174.     public function __sleep()
  175.     {
  176.         $this->initializer9f5cb && ($this->initializer9f5cb->__invoke($valueHolder4046c$this'__sleep', array(), $this->initializer9f5cb) || 1) && $this->valueHolder4046c $valueHolder4046c;
  177.         return array('valueHolder4046c');
  178.     }
  179.     public function __wakeup()
  180.     {
  181.         \Closure::bind(function (\App\Security\JWTTokenAuthenticator $instance) {
  182.             unset($instance->jwtManager$instance->userProvider);
  183.         }, $this'App\\Security\\JWTTokenAuthenticator')->__invoke($this);
  184.     }
  185.     public function setProxyInitializer(?\Closure $initializer null) : void
  186.     {
  187.         $this->initializer9f5cb $initializer;
  188.     }
  189.     public function getProxyInitializer() : ?\Closure
  190.     {
  191.         return $this->initializer9f5cb;
  192.     }
  193.     public function initializeProxy() : bool
  194.     {
  195.         return $this->initializer9f5cb && ($this->initializer9f5cb->__invoke($valueHolder4046c$this'initializeProxy', array(), $this->initializer9f5cb) || 1) && $this->valueHolder4046c $valueHolder4046c;
  196.     }
  197.     public function isProxyInitialized() : bool
  198.     {
  199.         return null !== $this->valueHolder4046c;
  200.     }
  201.     public function getWrappedValueHolderValue()
  202.     {
  203.         return $this->valueHolder4046c;
  204.     }
  205. }
  206. if (!\class_exists('JWTTokenAuthenticator_3af84d5'false)) {
  207.     \class_alias(__NAMESPACE__.'\\JWTTokenAuthenticator_3af84d5''JWTTokenAuthenticator_3af84d5'false);
  208. }