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

File

core/lib/Drupal/Core/Authentication/AuthenticationProviderFilterInterface.php, line 15

Namespace

Drupal\Core\Authentication

Members

Name Modifiers Type Description
AuthenticationProviderFilterInterface::appliesToRoutedRequest public function Checks whether the authentication method is allowed on a given route.
doc_Drupal
2016-10-29 08:45:13
Comments
Leave a Comment

Please login to continue.