We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Validating provided 6-digit codes is extremely simple, you just need to instantiate the validator and utilize the "isCodeValid" method.
$validator = new Jocic\GoogleAuthenticator\Validator(); if (!$validator->isCodeValid($code, $account)) { // Handle Invalid Code }