• I have added the code for 6 month expiry of the token, but it's expiring randomly and automatically, its happens frequently to the rest api. please help! 
    
    Also, here I have changed in plugin files as it was getting error
    
    
    
    class Jwt_Auth_Public {
    
    /**
    
    * The ID of this plugin.
    
    *
    
    * @since 1.0.0
    
    *
    
    * @var string The ID of this plugin.
    
    */
    
    private string $plugin_name; // GETTING ERROR
    
    /**
    
    * The version of this plugin.
    
    *
    
    * @since 1.0.0
    
    *
    
    * @var string The current version of this plugin.
    
    */
    
    private string $version; // GETTING ERROR
    
    /**
    
    * The namespace to add to the api calls.
    
    *
    
    * @var string The namespace to add to the api call
    
    */
    
    private string $namespace;
    • This topic was modified 2 years, 10 months ago by jenithacker.
    • This topic was modified 2 years, 10 months ago by jenithacker.
    • This topic was modified 2 years, 10 months ago by jenithacker.

The topic ‘JWT Token getting expiring soon’ is closed to new replies.