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
- interface \Drupal\tfa\Plugin\TfaLoginInterface
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\PluginView source
interface TfaLoginInterface {
/**
* Whether login is allowed.
*
* @return bool
* Whether login is allowed.
*/
public function loginAllowed();
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TfaLoginInterface:: |
public | function | Whether login is allowed. | 1 |