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\Authentication
Members
Name | Modifiers | Type | Description |
---|---|---|---|
AuthenticationProviderFilterInterface::appliesToRoutedRequest | public | function | Checks whether the authentication method is allowed on a given route. |
Please login to continue.