<?php
class ValidateJWT{
    private $secretKey = "sA6HTfF3DVheBwpaXAgC2gDqDteYusWRn73t9AdbggtE9RAXzWhAnr8TPaSQp3CC";

    public function validateToken($token){
        if(isset($token)){
            try{
                $decoded = JWT::decode($refreshToken, $secretKey, array('HS256'));
                return true;
            }catch(Exception $e){
                return false;
            }
           
        }
    }
}


?>