You are here

public function LoginValidatorBase::getDrupalUser in Lightweight Directory Access Protocol (LDAP) 8.4

Returns the derived user account.

Return value

\Drupal\user\UserInterface|null User account.

Overrides LoginValidatorInterface::getDrupalUser

File

ldap_authentication/src/Controller/LoginValidatorBase.php, line 960

Class

LoginValidatorBase
Handles the actual testing of credentials and authentication of users.

Namespace

Drupal\ldap_authentication\Controller

Code

public function getDrupalUser() : ?UserInterface {
  return $this->drupalUser;
}