AuthenticationProviderInterface::authenticate

public AuthenticationProviderInterface::authenticate(Request $request)

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.

File

core/lib/Drupal/Core/Authentication/AuthenticationProviderInterface.php, line 34

Class

AuthenticationProviderInterface
Interface for authentication providers.

Namespace

Drupal\Core\Authentication

Code

public function authenticate(Request $request);
doc_Drupal
2016-10-29 08:45:14
Comments
Leave a Comment

Please login to continue.