You are here

public function GALoginHotpValidation::ready in Google Authenticator login 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/TfaValidation/GALoginHotpValidation.php, line 127

Class

GALoginHotpValidation
HOTP validation class for performing HOTP validation.

Namespace

Drupal\ga_login\Plugin\TfaValidation

Code

public function ready() {
  return $this
    ->getSeed() !== FALSE;
}