OTPHP\OTPInterface::verify PHP Метод

verify() публичный Метод

If no input is provided, the input is set to a default value or false is returned.
public verify ( string $otp, integer | null $input = null, integer | null $window = null ) : boolean
$otp string
$input integer | null
$window integer | null
Результат boolean
    public function verify($otp, $input = null, $window = null);