You are here

public function TfaTrustedBrowser::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.

Overrides TfaBasePlugin::ready

File

src/Plugin/TfaLogin/TfaTrustedBrowser.php, line 261

Class

TfaTrustedBrowser
Trusted browser validation class.

Namespace

Drupal\tfa\Plugin\TfaLogin

Code

public function ready() {
  return TRUE;
}