Skip to content

Instantly share code, notes, and snippets.

@bttmly
Last active August 29, 2015 13:57
Show Gist options
  • Save bttmly/9353879 to your computer and use it in GitHub Desktop.
Save bttmly/9353879 to your computer and use it in GitHub Desktop.
<?php
require_once('tok3n.php');
$response = tok3n_verify ("your_private_key",
$user_key,
$_POST["tok3n_otp_field"]);
if ($response -> is_valid) {
// Successful verification
} else {
// Failed verification
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment