Check if the code is correct. This will accept codes starting from ($discrepancy * $period) sec ago to ($discrepancy * period) sec from now
public verifyCode ( $secret, $code, $discrepancy = 1, $time = null ) |
public verifyCode ( $secret, $code, $discrepancy = 1, $time = null ) |