This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// load JWT class | |
// Class can be found here: https://github.com/firebase/php-jwt | |
include __DIR__.'/JWT.class.php'; | |
$JWT = new JWT(); | |
// Zendesk provides a timestamp in the get. | |
$now = (!empty($_GET['timestamp'])) ? $_GET['timestamp'] : time(); |