public function Auth::applies in Drupal 8
Same name and namespace in other branches
- 9 core/modules/locale/tests/modules/early_translation_test/src/Auth.php \Drupal\early_translation_test\Auth::applies()
- 10 core/modules/locale/tests/modules/early_translation_test/src/Auth.php \Drupal\early_translation_test\Auth::applies()
Checks whether suitable authentication credentials are on the request.
Parameters
\Symfony\Component\HttpFoundation\Request $request: The request object.
Return value
bool TRUE if authentication credentials suitable for this provider are on the request, FALSE otherwise.
Overrides AuthenticationProviderInterface::applies
File
- core/
modules/ locale/ tests/ modules/ early_translation_test/ src/ Auth.php, line 39
Class
- Auth
- Test authentication provider.
Namespace
Drupal\early_translation_testCode
public function applies(Request $request) {
return FALSE;
}