You are here

public function GALoginTotpValidation::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/GALoginTotpValidation.php, line 277

Class

GALoginTotpValidation
TOTP validation class for performing TOTP validation.

Namespace

Drupal\ga_login\Plugin\TfaValidation

Code

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