I have a refreshToken function in my project for auth. the token will expire in 15 minutes. this is my function to get the remaining seconds of expires:
refreshToken