Frode Aannevik 8692799e65 Fix expired oauth2_access_token
Use `expires_in` from the oauth2 response
to reset the oauth2_access_token before
it expires

divides the `expires_in` by 2 to ensure
the access_token is cleared before it
expires

ref: https://github.com/OfflineIMAP/offlineimap/issues/536

Signed-off-by: Frode Aannevik <frode.aa@gmail.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2018-11-18 21:07:54 +01:00
..
2018-05-18 02:10:56 +02:00
2018-08-13 01:15:01 +02:00
2018-06-16 15:08:07 +02:00
2015-01-07 21:31:43 +01:00
2018-11-18 21:07:54 +01:00
2018-05-01 16:21:57 +02:00
2016-07-28 00:42:35 +02:00
2016-11-08 07:11:33 +01:00