interface AuthenticationProviderFilterInterface
Restrict authentication methods to a subset of the site.
Some authentication methods should not be available throughout a whole site. For instance, there are good reasons to restrict insecure methods like HTTP basic authentication or a URL token authentication method to API-only routes.
Hierarchy
- interface \Drupal\Core\Authentication\AuthenticationProviderFilterInterface
File
- core/lib/Drupal/Core/Authentication/AuthenticationProviderFilterInterface.php, line 15
Namespace
Drupal\Core\AuthenticationMembers
Name | Modifiers | Type | Description |
---|---|---|---|
AuthenticationProviderFilterInterface::appliesToRoutedRequest | public | function | Checks whether the authentication method is allowed on a given route. |
© 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!Authentication!AuthenticationProviderFilterInterface.php/interface/AuthenticationProviderFilterInterface/8.1.x