You are here

interface TfaLoginInterface in Two-factor Authentication (TFA) 8

Interface TfaLoginInterface.

Login plugins interact with the Tfa loginAllowed() process prior to starting a TFA process.

Hierarchy

Expanded class hierarchy of TfaLoginInterface

All classes that implement TfaLoginInterface

1 file declares its use of TfaLoginInterface
TfaTrustedBrowser.php in src/Plugin/TfaLogin/TfaTrustedBrowser.php

File

src/Plugin/TfaLoginInterface.php, line 11

Namespace

Drupal\tfa\Plugin
View source
interface TfaLoginInterface {

  /**
   * Whether login is allowed.
   *
   * @return bool
   *   Whether login is allowed.
   */
  public function loginAllowed();

}

Members

Namesort descending Modifiers Type Description Overrides
TfaLoginInterface::loginAllowed public function Whether login is allowed. 1