function AuthenticationProviderInterface::applies

Same name in other branches
  1. 9 core/lib/Drupal/Core/Authentication/AuthenticationProviderInterface.php \Drupal\Core\Authentication\AuthenticationProviderInterface::applies()
  2. 8.9.x core/lib/Drupal/Core/Authentication/AuthenticationProviderInterface.php \Drupal\Core\Authentication\AuthenticationProviderInterface::applies()
  3. 11.x core/lib/Drupal/Core/Authentication/AuthenticationProviderInterface.php \Drupal\Core\Authentication\AuthenticationProviderInterface::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.

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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.