public AuthenticationProviderFilterInterface::appliesToRoutedRequest(Request $request, $authenticated)
Checks whether the authentication method is allowed on a given route.
While authentication itself is run before routing, this method is called after routing, hence RouteMatch is available and can be used to inspect route options.
Parameters
\Symfony\Component\HttpFoundation\Request $request: The request.
bool $authenticated: Whether or not the request is authenticated.
Return value
bool TRUE