You are here

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

Check whether $this->getUser() is required to use TFA.

Return value

bool TRUE if $this->getUser() is required to use TFA.

1 method overrides TfaContextInterface::isTfaRequired()
TfaContext::isTfaRequired in src/TfaContext.php
Check whether $this->getUser() is required to use TFA.

File

src/TfaContextInterface.php, line 55

Class

TfaContextInterface
Provide context for the current login attempt.

Namespace

Drupal\tfa

Code

public function isTfaRequired();