You are here

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

Whether at least one plugin allows authentication.

If any plugin returns TRUE then authentication is not interrupted by TFA.

Return value

bool TRUE if login allowed otherwise FALSE.

1 method overrides TfaContextInterface::pluginAllowsLogin()
TfaContext::pluginAllowsLogin in src/TfaContext.php
Whether at least one plugin allows authentication.

File

src/TfaContextInterface.php, line 88

Class

TfaContextInterface
Provide context for the current login attempt.

Namespace

Drupal\tfa

Code

public function pluginAllowsLogin();