You are here

public function GALoginHotpValidation::isAlreadyAccepted in Google Authenticator login 8

Returns whether code has already been used or not.

Return value

bool True is code already used otherwise false.

File

src/Plugin/TfaValidation/GALoginHotpValidation.php, line 275

Class

GALoginHotpValidation
HOTP validation class for performing HOTP validation.

Namespace

Drupal\ga_login\Plugin\TfaValidation

Code

public function isAlreadyAccepted() {
  return $this->alreadyAccepted;
}