You are here

public function ShibbolethAuthenticationProvider::applies in Shibboleth Authentication 8.4

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

src/Authentication/Provider/ShibbolethAuthenticationProvider.php, line 51
Contains Drupal\shib_auth\Authentication\Provider\ShibbolethAuthenticationProvider.

Class

ShibbolethAuthenticationProvider
Class ShibbolethAuthenticationProvider.

Namespace

Drupal\shib_auth\Authentication\Provider

Code

public function applies(Request $request) {

  // If Authentication Provider is enabled always apply.
  return TRUE;
}