You are here

abstract public function TfaBasePlugin::ready in Two-factor Authentication (TFA) 8

Determine if the plugin can run for the current TFA context.

Return value

bool True or False based on the checks performed.

4 methods override TfaBasePlugin::ready()
TfaRecoveryCode::ready in src/Plugin/TfaValidation/TfaRecoveryCode.php
Determine if the plugin can run for the current TFA context.
TfaTestValidationPlugin::ready in tests/modules/tfa_test_plugins/src/Plugin/TfaValidation/TfaTestValidationPlugin.php
Determine if the plugin can run for the current TFA context.
TfaTestValidationPluginSetupPlugin::ready in tests/modules/tfa_test_plugins/src/Plugin/TfaSetup/TfaTestValidationPluginSetupPlugin.php
Determine if the plugin can run for the current TFA context.
TfaTrustedBrowser::ready in src/Plugin/TfaLogin/TfaTrustedBrowser.php
Determine if the plugin can run for the current TFA context.

File

src/Plugin/TfaBasePlugin.php, line 123

Class

TfaBasePlugin
Base plugin class.

Namespace

Drupal\tfa\Plugin

Code

public abstract function ready();