W3cubDocs

/Drupal 8

public function AuthenticationProviderInterface::applies

public AuthenticationProviderInterface::applies(Request $request)

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.

File

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

Class

AuthenticationProviderInterface
Interface for authentication providers.

Namespace

Drupal\Core\Authentication

Code

public function applies(Request $request);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Authentication!AuthenticationProviderInterface.php/function/AuthenticationProviderInterface::applies/8.1.x