public function GALoginTotpValidation::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/ GALoginTotpValidation.php, line 128
Class
- GALoginTotpValidation
- TOTP validation class for performing TOTP validation.
Namespace
Drupal\ga_login\Plugin\TfaValidationCode
public function ready() {
return $this
->getSeed() !== FALSE;
}