You are here

interface TfaLoginPluginInterface in Two-factor Authentication (TFA) 7.2

Interface TfaLoginPluginInterface.

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

Hierarchy

Expanded class hierarchy of TfaLoginPluginInterface

All classes that implement TfaLoginPluginInterface

2 string references to 'TfaLoginPluginInterface'
tfa_admin_settings in ./tfa.admin.inc
Admin settings form.
_tfa_class_types in ./tfa.admin.inc
Get human-readable types.

File

./tfa.inc, line 802
TFA module classes.

View source
interface TfaLoginPluginInterface {

  /**
   * Whether authentication should be interrupted.
   *
   * @return bool
   *   Indicates whether authentication should be interrupted.
   */
  public function loginAllowed();

}

Members

Namesort descending Modifiers Type Description Overrides
TfaLoginPluginInterface::loginAllowed public function Whether authentication should be interrupted. 1