You are here

protected function SamlService::isAuthenticated in SAML Authentication 8.2

Same name and namespace in other branches
  1. 8 src/SamlService.php \Drupal\samlauth\SamlService::isAuthenticated()

Return value

bool if a valid user was fetched from the saml assertion this request.

1 call to SamlService::isAuthenticated()
SamlService::acs in src/SamlService.php
Processes a SAML response (Assertion Consumer Service).

File

src/SamlService.php, line 372

Class

SamlService
Governs communication between the SAML toolkit and the IDP / login behavior.

Namespace

Drupal\samlauth

Code

protected function isAuthenticated() {
  return $this
    ->getSamlAuth()
    ->isAuthenticated();
}