public function Auth::authenticate in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/locale/tests/modules/early_translation_test/src/Auth.php \Drupal\early_translation_test\Auth::authenticate()
Authenticates the user.
Parameters
\Symfony\Component\HttpFoundation\Request|NULL $request: The request object.
Return value
\Drupal\Core\Session\AccountInterface|NULL AccountInterface - in case of a successful authentication. NULL - in case where authentication failed.
Overrides AuthenticationProviderInterface::authenticate
File
- core/
modules/ locale/ tests/ modules/ early_translation_test/ src/ Auth.php, line 51 - Contains \Drupal\early_translation_test\Auth.
Class
- Auth
- Test authentication provider.
Namespace
Drupal\early_translation_testCode
public function authenticate(Request $request) {
return NULL;
}