AuthenticationSubscriber::onKernelRequestFilterProvider

public AuthenticationSubscriber::onKernelRequestFilterProvider(GetResponseEvent $event) Denies access if authentication provider is not allowed on this route. Parameters \Symfony\Component\HttpKernel\Event\GetResponseEvent $event: The request event. File core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php, line 95 Class AuthenticationSubscriber Authentication subscriber. Namespace Drupal\Core\EventSubscriber Code public function onKernelRequestFilterProvider(GetResponseE

AuthenticationSubscriber::onKernelRequestAuthenticate

public AuthenticationSubscriber::onKernelRequestAuthenticate(GetResponseEvent $event) Authenticates user on request. Parameters \Symfony\Component\HttpKernel\Event\GetResponseEvent $event: The request event. See also \Drupal\Core\Authentication\AuthenticationProviderInterface::authenticate() File core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php, line 74 Class AuthenticationSubscriber Authentication subscriber. Namespace Drupal\Core\EventSubscriber Code public functio

AuthenticationSubscriber::onExceptionSendChallenge

public AuthenticationSubscriber::onExceptionSendChallenge(GetResponseForExceptionEvent $event) Respond with a challenge on access denied exceptions if appropriate. On a 403 (access denied), if there are no credentials on the request, some authentication methods (e.g. basic auth) require that a challenge is sent to the client. Parameters \Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent $event: The exception event. File core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscribe

AuthenticationSubscriber::getSubscribedEvents

public static AuthenticationSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priorit

AuthenticationSubscriber::$filter

Authentication provider filter. Type: \Drupal\Core\Authentication\AuthenticationProviderFilterInterface|null File core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php, line 35 Class AuthenticationSubscriber Authentication subscriber. Namespace Drupal\Core\EventSubscriber Code protected $filter;

AuthenticationSubscriber::$challengeProvider

Authentication challenge provider. Type: \Drupal\Core\Authentication\AuthenticationProviderChallengeInterface|null File core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php, line 42 Class AuthenticationSubscriber Authentication subscriber. Namespace Drupal\Core\EventSubscriber Code protected $challengeProvider;

AuthenticationSubscriber::$authenticationProvider

Authentication provider. Type: \Drupal\Core\Authentication\AuthenticationProviderInterface File core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php, line 28 Class AuthenticationSubscriber Authentication subscriber. Namespace Drupal\Core\EventSubscriber Code protected $authenticationProvider;

AuthenticationSubscriber::$accountProxy

Account proxy. Type: \Drupal\Core\Session\AccountProxyInterface File core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php, line 49 Class AuthenticationSubscriber Authentication subscriber. Namespace Drupal\Core\EventSubscriber Code protected $accountProxy;

AuthenticationSubscriber

Authentication subscriber. Trigger authentication during the request. Hierarchy class \Drupal\Core\EventSubscriber\AuthenticationSubscriber implements EventSubscriberInterface File core/lib/Drupal/Core/EventSubscriber/AuthenticationSubscriber.php, line 21 Namespace Drupal\Core\EventSubscriber Members Name Modifiers Type Description AuthenticationSubscriber::$accountProxy protected property Account proxy. AuthenticationSubscriber::$authenticationProvider protected p

AuthenticationProviderPass::process

public AuthenticationProviderPass::process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container: Overrides CompilerPassInterface::process File core/lib/Drupal/Core/DependencyInjection/Compiler/AuthenticationProviderPass.php, line 16 Class AuthenticationProviderPass Registers the authentication_providers container parameter. Namespace Drupal\Core\DependencyInjection\Compiler Code public function process(C