1
0
mirror of https://github.com/rclone/rclone.git synced 2025-01-24 12:56:36 +02:00
rkonfj 451d7badf7 oauthutil: avoid panic when *token and *ts.token are the same
the field `raw` of `oauth2.Token` may be an uncomparable type(often map[string]interface{}), causing `*token != *ts.token` expression to panic(comparing uncomparable type ...).

the semantics of comparing whether two tokens are the same can be achieved by comparing accessToken, refreshToken and expire to avoid panic.
2024-01-03 15:15:14 +00:00
..
2023-08-22 12:52:13 +01:00
2022-11-07 11:41:47 +00:00
2021-10-20 22:56:19 +02:00
2023-03-24 20:40:52 +00:00
2022-11-07 11:41:47 +00:00
2020-10-14 15:21:31 +01:00
2024-01-03 12:21:08 +00:00