class AuthenticationSubscriber

Authentication subscriber.

Trigger authentication during the request.

Hierarchy

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 property Authentication provider.
AuthenticationSubscriber::$challengeProvider protected property Authentication challenge provider.
AuthenticationSubscriber::$filter protected property Authentication provider filter.
AuthenticationSubscriber::getSubscribedEvents public static function Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents
AuthenticationSubscriber::onExceptionSendChallenge public function Respond with a challenge on access denied exceptions if appropriate.
AuthenticationSubscriber::onKernelRequestAuthenticate public function Authenticates user on request.
AuthenticationSubscriber::onKernelRequestFilterProvider public function Denies access if authentication provider is not allowed on this route.
AuthenticationSubscriber::__construct public function Constructs an authentication subscriber.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!EventSubscriber!AuthenticationSubscriber.php/class/AuthenticationSubscriber/8.1.x