public function valid()
    {
        $this->jwt();
        
        $data = new ValidationData();
        
        if ($this->leeway != 0) {
          $data->setCurrentTime(time() + $this->leeway);
        }
        
        return $this->jwt->validate($data);
    }
public function valid()
    {
        $this->jwt();
        
        $data = new ValidationData();
        
        if ($this->leeway != 0) {
          $data->setCurrentTime(time() + $this->leeway);
        }
        
        return $this->jwt->validate($data);
    }
public function valid ( ) { $ this -> jwt ( ) ; $ data = new ValidationData ( ) ; if ( $ this -> leeway != 0 ) { $ data -> setCurrentTime ( time ( ) + $ this -> leeway ) ; } return $ this -> jwt -> validate ( $ data ) ; }
Return if access token is valid

@return bool
Return if access token is valid