This file contains hidden or 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 | |
// Example of decoding JWT Web Token with public key | |
// Package: https://github.com/firebase/php-jwt | |
require_once 'vendor/autoload.php'; | |
use \Firebase\JWT\JWT; | |
$key = "-----BEGIN PUBLIC KEY----- YOUR PUBLIC KEY HERE -----END PUBLIC KEY-----"; |