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

Open in your IDE?
  1. <?php
  2. namespace ContainerN0hUIiQ;
  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 $valueHolder8a1b1 null;
  12.     /**
  13.      * @var \Closure|null initializer responsible for generating the wrapped object
  14.      */
  15.     private $initializere7b76 null;
  16.     /**
  17.      * @var bool[] map of public properties of the parent class
  18.      */
  19.     private static $publicPropertiesc12af = [
  20.         
  21.     ];
  22.     public function supports(\Symfony\Component\HttpFoundation\Request $request): ?bool
  23.     {
  24.         $this->initializere7b76 && ($this->initializere7b76->__invoke($valueHolder8a1b1$this'supports', array('request' => $request), $this->initializere7b76) || 1) && $this->valueHolder8a1b1 $valueHolder8a1b1;
  25.         return $this->valueHolder8a1b1->supports($request);
  26.     }
  27.     public function authenticate(\Symfony\Component\HttpFoundation\Request $request): \Symfony\Component\Security\Http\Authenticator\Passport\Passport
  28.     {
  29.         $this->initializere7b76 && ($this->initializere7b76->__invoke($valueHolder8a1b1$this'authenticate', array('request' => $request), $this->initializere7b76) || 1) && $this->valueHolder8a1b1 $valueHolder8a1b1;
  30.         return $this->valueHolder8a1b1->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->initializere7b76 && ($this->initializere7b76->__invoke($valueHolder8a1b1$this'onAuthenticationSuccess', array('request' => $request'token' => $token'firewallName' => $firewallName), $this->initializere7b76) || 1) && $this->valueHolder8a1b1 $valueHolder8a1b1;
  35.         return $this->valueHolder8a1b1->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->initializere7b76 && ($this->initializere7b76->__invoke($valueHolder8a1b1$this'onAuthenticationFailure', array('request' => $request'exception' => $exception), $this->initializere7b76) || 1) && $this->valueHolder8a1b1 $valueHolder8a1b1;
  40.         return $this->valueHolder8a1b1->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->initializere7b76 && ($this->initializere7b76->__invoke($valueHolder8a1b1$this'createToken', array('passport' => $passport'firewallName' => $firewallName), $this->initializere7b76) || 1) && $this->valueHolder8a1b1 $valueHolder8a1b1;
  45.         return $this->valueHolder8a1b1->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->initializere7b76 && ($this->initializere7b76->__invoke($valueHolder8a1b1$this'createAuthenticatedToken', array('passport' => $passport'firewallName' => $firewallName), $this->initializere7b76) || 1) && $this->valueHolder8a1b1 $valueHolder8a1b1;
  50.         return $this->valueHolder8a1b1->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->initializere7b76 $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->valueHolder8a1b1) {
  72.             $reflection $reflection ?? new \ReflectionClass('App\\Security\\JWTTokenAuthenticator');
  73.             $this->valueHolder8a1b1 $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->valueHolder8a1b1->__construct($jwtManager$userProvider);
  79.     }
  80.     public function & __get($name)
  81.     {
  82.         $this->initializere7b76 && ($this->initializere7b76->__invoke($valueHolder8a1b1$this'__get', ['name' => $name], $this->initializere7b76) || 1) && $this->valueHolder8a1b1 $valueHolder8a1b1;
  83.         if (isset(self::$publicPropertiesc12af[$name])) {
  84.             return $this->valueHolder8a1b1->$name;
  85.         }
  86.         $realInstanceReflection = new \ReflectionClass('App\\Security\\JWTTokenAuthenticator');
  87.         if (! $realInstanceReflection->hasProperty($name)) {
  88.             $targetObject $this->valueHolder8a1b1;
  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->valueHolder8a1b1;
  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->initializere7b76 && ($this->initializere7b76->__invoke($valueHolder8a1b1$this'__set', array('name' => $name'value' => $value), $this->initializere7b76) || 1) && $this->valueHolder8a1b1 $valueHolder8a1b1;
  115.         $realInstanceReflection = new \ReflectionClass('App\\Security\\JWTTokenAuthenticator');
  116.         if (! $realInstanceReflection->hasProperty($name)) {
  117.             $targetObject $this->valueHolder8a1b1;
  118.             $targetObject->$name $value;
  119.             return $targetObject->$name;
  120.         }
  121.         $targetObject $this->valueHolder8a1b1;
  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->initializere7b76 && ($this->initializere7b76->__invoke($valueHolder8a1b1$this'__isset', array('name' => $name), $this->initializere7b76) || 1) && $this->valueHolder8a1b1 $valueHolder8a1b1;
  135.         $realInstanceReflection = new \ReflectionClass('App\\Security\\JWTTokenAuthenticator');
  136.         if (! $realInstanceReflection->hasProperty($name)) {
  137.             $targetObject $this->valueHolder8a1b1;
  138.             return isset($targetObject->$name);
  139.         }
  140.         $targetObject $this->valueHolder8a1b1;
  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->initializere7b76 && ($this->initializere7b76->__invoke($valueHolder8a1b1$this'__unset', array('name' => $name), $this->initializere7b76) || 1) && $this->valueHolder8a1b1 $valueHolder8a1b1;
  153.         $realInstanceReflection = new \ReflectionClass('App\\Security\\JWTTokenAuthenticator');
  154.         if (! $realInstanceReflection->hasProperty($name)) {
  155.             $targetObject $this->valueHolder8a1b1;
  156.             unset($targetObject->$name);
  157.             return;
  158.         }
  159.         $targetObject $this->valueHolder8a1b1;
  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->initializere7b76 && ($this->initializere7b76->__invoke($valueHolder8a1b1$this'__clone', array(), $this->initializere7b76) || 1) && $this->valueHolder8a1b1 $valueHolder8a1b1;
  172.         $this->valueHolder8a1b1 = clone $this->valueHolder8a1b1;
  173.     }
  174.     public function __sleep()
  175.     {
  176.         $this->initializere7b76 && ($this->initializere7b76->__invoke($valueHolder8a1b1$this'__sleep', array(), $this->initializere7b76) || 1) && $this->valueHolder8a1b1 $valueHolder8a1b1;
  177.         return array('valueHolder8a1b1');
  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->initializere7b76 $initializer;
  188.     }
  189.     public function getProxyInitializer(): ?\Closure
  190.     {
  191.         return $this->initializere7b76;
  192.     }
  193.     public function initializeProxy(): bool
  194.     {
  195.         return $this->initializere7b76 && ($this->initializere7b76->__invoke($valueHolder8a1b1$this'initializeProxy', array(), $this->initializere7b76) || 1) && $this->valueHolder8a1b1 $valueHolder8a1b1;
  196.     }
  197.     public function isProxyInitialized(): bool
  198.     {
  199.         return null !== $this->valueHolder8a1b1;
  200.     }
  201.     public function getWrappedValueHolderValue()
  202.     {
  203.         return $this->valueHolder8a1b1;
  204.     }
  205. }
  206. if (!\class_exists('JWTTokenAuthenticator_3af84d5'false)) {
  207.     \class_alias(__NAMESPACE__.'\\JWTTokenAuthenticator_3af84d5''JWTTokenAuthenticator_3af84d5'false);
  208. }