maofalt / Transcendence

4 stars 0 forks source link

157 check accesstokens last valid time #165

Closed coisu closed 6 months ago

coisu commented 6 months ago

new data value to store last_valid_time for User, it updata when user authenticate and refresh toekn. and from friends_view, it check each friend user's last_valid_time. if it is bigger than 300 second(access token lifetime) automatically is_online=False