What do you want to save?
Add Code snippet
New code examples
-
PHP 2021-11-09 03:10:15
php check jwt token expired
$jwt = getBearerToken(); try { $decoded = JWT::decode($jwt, $key, array('HS256')); $refresh_token=$decoded->data->refresh_token; } catch (Exception $e){ if($e->getMessage() == "Expired token"){ list($header, $payload, $signatur... Add solution