📜  firebase jwt php verify - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:58.150000             🧑  作者: Mango

代码示例1
try { 
  $usertoken_to_verify = $_GET["usertoken"]; 
  $decodejwt = JWT::decode($usertoken_to_verify, $key, array('HS256')); print_r($decodejwt); 
} catch (\Exception $e) {
  echo $e; 
}