Skip to content
Back

DIfference of providerAccessTokenExpiry and expire on SesionModel

  • 0
  • Accounts
  • Flutter
hortigado
7 Feb, 2024, 03:45

Hello, I need to know the difference between these two dates to know which one I need to close the session when the cookie I save locally to support OFFLINEFIRST expires.

TL;DR
Title: Expiry Differences: providerAccessTokenExpiry vs expire on SesionModel Message: Hello developers, I need help understanding the difference between providerAccessTokenExpiry and the expire on SesionModel. I want to determine which date I should use to close the session when the locally saved cookie for OFFLINEFIRST support expires. Can anyone provide insight? Thanks! Solution: The providerAccessTokenExpiry refers to the expiry date of the OAuth provider access token, whereas the expire on SesionModel represents the expiration date of the session. To determine which date to use for closing the session when the locally saved cookie for OFFLINEFIRST support expires
Steven
7 Feb, 2024, 03:57

Provider access token is the oauth provider access token

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more