var/cache/dev/ContainerSzWx2pB/LoginFormAuthenticator_a44afbb.php line 33

Open in your IDE?
  1. <?php
  2. namespace ContainerSzWx2pB;
  3. include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/EntryPoint/AuthenticationEntryPointInterface.php';
  4. include_once \dirname(__DIR__, 4).'/vendor/symfony/security-guard/AuthenticatorInterface.php';
  5. include_once \dirname(__DIR__, 4).'/vendor/symfony/security-guard/AbstractGuardAuthenticator.php';
  6. include_once \dirname(__DIR__, 4).'/vendor/symfony/security-guard/Authenticator/AbstractFormLoginAuthenticator.php';
  7. include_once \dirname(__DIR__, 4).'/vendor/symfony/security-guard/PasswordAuthenticatedInterface.php';
  8. include_once \dirname(__DIR__, 4).'/vendor/symfony/security-http/Util/TargetPathTrait.php';
  9. include_once \dirname(__DIR__, 4).'/src/Security/LoginFormAuthenticator.php';
  10. class LoginFormAuthenticator_a44afbb extends \App\Security\LoginFormAuthenticator implements \ProxyManager\Proxy\VirtualProxyInterface
  11. {
  12. /**
  13. * @var \App\Security\LoginFormAuthenticator|null wrapped object, if the proxy is initialized
  14. */
  15. private $valueHolderc78ef = null;
  16. /**
  17. * @var \Closure|null initializer responsible for generating the wrapped object
  18. */
  19. private $initializera61be = null;
  20. /**
  21. * @var bool[] map of public properties of the parent class
  22. */
  23. private static $publicProperties4a11e = [
  24. ];
  25. public function supports(\Symfony\Component\HttpFoundation\Request $request)
  26. {
  27. $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'supports', array('request' => $request), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  28. return $this->valueHolderc78ef->supports($request);
  29. }
  30. public function getCredentials(\Symfony\Component\HttpFoundation\Request $request)
  31. {
  32. $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'getCredentials', array('request' => $request), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  33. return $this->valueHolderc78ef->getCredentials($request);
  34. }
  35. public function getUser($credentials, \Symfony\Component\Security\Core\User\UserProviderInterface $userProvider)
  36. {
  37. $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'getUser', array('credentials' => $credentials, 'userProvider' => $userProvider), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  38. return $this->valueHolderc78ef->getUser($credentials, $userProvider);
  39. }
  40. public function checkCredentials($credentials, \Symfony\Component\Security\Core\User\UserInterface $user)
  41. {
  42. $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'checkCredentials', array('credentials' => $credentials, 'user' => $user), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  43. return $this->valueHolderc78ef->checkCredentials($credentials, $user);
  44. }
  45. public function getPassword($credentials): ?string
  46. {
  47. $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'getPassword', array('credentials' => $credentials), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  48. return $this->valueHolderc78ef->getPassword($credentials);
  49. }
  50. public function onAuthenticationSuccess(\Symfony\Component\HttpFoundation\Request $request, \Symfony\Component\Security\Core\Authentication\Token\TokenInterface $token, string $providerKey)
  51. {
  52. $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'onAuthenticationSuccess', array('request' => $request, 'token' => $token, 'providerKey' => $providerKey), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  53. return $this->valueHolderc78ef->onAuthenticationSuccess($request, $token, $providerKey);
  54. }
  55. public function onAuthenticationFailure(\Symfony\Component\HttpFoundation\Request $request, \Symfony\Component\Security\Core\Exception\AuthenticationException $exception)
  56. {
  57. $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'onAuthenticationFailure', array('request' => $request, 'exception' => $exception), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  58. return $this->valueHolderc78ef->onAuthenticationFailure($request, $exception);
  59. }
  60. public function supportsRememberMe()
  61. {
  62. $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'supportsRememberMe', array(), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  63. return $this->valueHolderc78ef->supportsRememberMe();
  64. }
  65. public function start(\Symfony\Component\HttpFoundation\Request $request, ?\Symfony\Component\Security\Core\Exception\AuthenticationException $authException = null)
  66. {
  67. $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'start', array('request' => $request, 'authException' => $authException), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  68. return $this->valueHolderc78ef->start($request, $authException);
  69. }
  70. public function createAuthenticatedToken(\Symfony\Component\Security\Core\User\UserInterface $user, string $providerKey)
  71. {
  72. $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'createAuthenticatedToken', array('user' => $user, 'providerKey' => $providerKey), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  73. return $this->valueHolderc78ef->createAuthenticatedToken($user, $providerKey);
  74. }
  75. /**
  76. * Constructor for lazy initialization
  77. *
  78. * @param \Closure|null $initializer
  79. */
  80. public static function staticProxyConstructor($initializer)
  81. {
  82. static $reflection;
  83. $reflection = $reflection ?? new \ReflectionClass(__CLASS__);
  84. $instance = $reflection->newInstanceWithoutConstructor();
  85. \Closure::bind(function (\App\Security\LoginFormAuthenticator $instance) {
  86. unset($instance->entityManager, $instance->urlGenerator, $instance->csrfTokenManager, $instance->passwordEncoder, $instance->container);
  87. }, $instance, 'App\\Security\\LoginFormAuthenticator')->__invoke($instance);
  88. $instance->initializera61be = $initializer;
  89. return $instance;
  90. }
  91. public function __construct(\Doctrine\ORM\EntityManagerInterface $entityManager, \Symfony\Component\DependencyInjection\ContainerInterface $container, \Symfony\Component\Routing\Generator\UrlGeneratorInterface $urlGenerator, \Symfony\Component\Security\Csrf\CsrfTokenManagerInterface $csrfTokenManager, \Symfony\Component\Security\Core\Encoder\UserPasswordEncoderInterface $passwordEncoder)
  92. {
  93. static $reflection;
  94. if (! $this->valueHolderc78ef) {
  95. $reflection = $reflection ?? new \ReflectionClass('App\\Security\\LoginFormAuthenticator');
  96. $this->valueHolderc78ef = $reflection->newInstanceWithoutConstructor();
  97. \Closure::bind(function (\App\Security\LoginFormAuthenticator $instance) {
  98. unset($instance->entityManager, $instance->urlGenerator, $instance->csrfTokenManager, $instance->passwordEncoder, $instance->container);
  99. }, $this, 'App\\Security\\LoginFormAuthenticator')->__invoke($this);
  100. }
  101. $this->valueHolderc78ef->__construct($entityManager, $container, $urlGenerator, $csrfTokenManager, $passwordEncoder);
  102. }
  103. public function & __get($name)
  104. {
  105. $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, '__get', ['name' => $name], $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  106. if (isset(self::$publicProperties4a11e[$name])) {
  107. return $this->valueHolderc78ef->$name;
  108. }
  109. $realInstanceReflection = new \ReflectionClass('App\\Security\\LoginFormAuthenticator');
  110. if (! $realInstanceReflection->hasProperty($name)) {
  111. $targetObject = $this->valueHolderc78ef;
  112. $backtrace = debug_backtrace(false, 1);
  113. trigger_error(
  114. sprintf(
  115. 'Undefined property: %s::$%s in %s on line %s',
  116. $realInstanceReflection->getName(),
  117. $name,
  118. $backtrace[0]['file'],
  119. $backtrace[0]['line']
  120. ),
  121. \E_USER_NOTICE
  122. );
  123. return $targetObject->$name;
  124. }
  125. $targetObject = $this->valueHolderc78ef;
  126. $accessor = function & () use ($targetObject, $name) {
  127. return $targetObject->$name;
  128. };
  129. $backtrace = debug_backtrace(true, 2);
  130. $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  131. $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
  132. $returnValue = & $accessor();
  133. return $returnValue;
  134. }
  135. public function __set($name, $value)
  136. {
  137. $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, '__set', array('name' => $name, 'value' => $value), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  138. $realInstanceReflection = new \ReflectionClass('App\\Security\\LoginFormAuthenticator');
  139. if (! $realInstanceReflection->hasProperty($name)) {
  140. $targetObject = $this->valueHolderc78ef;
  141. $targetObject->$name = $value;
  142. return $targetObject->$name;
  143. }
  144. $targetObject = $this->valueHolderc78ef;
  145. $accessor = function & () use ($targetObject, $name, $value) {
  146. $targetObject->$name = $value;
  147. return $targetObject->$name;
  148. };
  149. $backtrace = debug_backtrace(true, 2);
  150. $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  151. $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
  152. $returnValue = & $accessor();
  153. return $returnValue;
  154. }
  155. public function __isset($name)
  156. {
  157. $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, '__isset', array('name' => $name), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  158. $realInstanceReflection = new \ReflectionClass('App\\Security\\LoginFormAuthenticator');
  159. if (! $realInstanceReflection->hasProperty($name)) {
  160. $targetObject = $this->valueHolderc78ef;
  161. return isset($targetObject->$name);
  162. }
  163. $targetObject = $this->valueHolderc78ef;
  164. $accessor = function () use ($targetObject, $name) {
  165. return isset($targetObject->$name);
  166. };
  167. $backtrace = debug_backtrace(true, 2);
  168. $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  169. $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
  170. $returnValue = $accessor();
  171. return $returnValue;
  172. }
  173. public function __unset($name)
  174. {
  175. $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, '__unset', array('name' => $name), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  176. $realInstanceReflection = new \ReflectionClass('App\\Security\\LoginFormAuthenticator');
  177. if (! $realInstanceReflection->hasProperty($name)) {
  178. $targetObject = $this->valueHolderc78ef;
  179. unset($targetObject->$name);
  180. return;
  181. }
  182. $targetObject = $this->valueHolderc78ef;
  183. $accessor = function () use ($targetObject, $name) {
  184. unset($targetObject->$name);
  185. return;
  186. };
  187. $backtrace = debug_backtrace(true, 2);
  188. $scopeObject = isset($backtrace[1]['object']) ? $backtrace[1]['object'] : new \ProxyManager\Stub\EmptyClassStub();
  189. $accessor = $accessor->bindTo($scopeObject, get_class($scopeObject));
  190. $accessor();
  191. }
  192. public function __clone()
  193. {
  194. $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, '__clone', array(), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  195. $this->valueHolderc78ef = clone $this->valueHolderc78ef;
  196. }
  197. public function __sleep()
  198. {
  199. $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, '__sleep', array(), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  200. return array('valueHolderc78ef');
  201. }
  202. public function __wakeup()
  203. {
  204. \Closure::bind(function (\App\Security\LoginFormAuthenticator $instance) {
  205. unset($instance->entityManager, $instance->urlGenerator, $instance->csrfTokenManager, $instance->passwordEncoder, $instance->container);
  206. }, $this, 'App\\Security\\LoginFormAuthenticator')->__invoke($this);
  207. }
  208. public function setProxyInitializer(?\Closure $initializer = null): void
  209. {
  210. $this->initializera61be = $initializer;
  211. }
  212. public function getProxyInitializer(): ?\Closure
  213. {
  214. return $this->initializera61be;
  215. }
  216. public function initializeProxy(): bool
  217. {
  218. return $this->initializera61be && ($this->initializera61be->__invoke($valueHolderc78ef, $this, 'initializeProxy', array(), $this->initializera61be) || 1) && $this->valueHolderc78ef = $valueHolderc78ef;
  219. }
  220. public function isProxyInitialized(): bool
  221. {
  222. return null !== $this->valueHolderc78ef;
  223. }
  224. public function getWrappedValueHolderValue()
  225. {
  226. return $this->valueHolderc78ef;
  227. }
  228. }
  229. if (!\class_exists('LoginFormAuthenticator_a44afbb', false)) {
  230. \class_alias(__NAMESPACE__.'\\LoginFormAuthenticator_a44afbb', 'LoginFormAuthenticator_a44afbb', false);
  231. }