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 | 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. |
Please login to continue.