You are here

public function TfaContextInterface::getUser in Two-factor Authentication (TFA) 8

Get the user object.

Return value

\Drupal\user\UserInterface The entity object of the user attempting to log in.

1 method overrides TfaContextInterface::getUser()
TfaContext::getUser in src/TfaContext.php
Get the user object.

File

src/TfaContextInterface.php, line 39

Class

TfaContextInterface
Provide context for the current login attempt.

Namespace

Drupal\tfa

Code

public function getUser();