Record - oauth2 : CachedToken

The `CachedToken` stores the values received from the authorization/token server to use them for the latter requests without requesting tokens again.

Fields

  • accessToken string
  • Access token for the authorization endpoint

  • refreshToken string
  • Refresh token for the refresh token server

  • expiryTime int
  • Expiry time (milliseconds since the Epoch) of the access token