1
mirror of https://github.com/rclone/rclone synced 2024-11-26 04:07:22 +01:00
rclone/lib/oauthutil
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
..
oauthutil.go oauthutil: avoid panic when *token and *ts.token are the same 2024-01-03 15:15:14 +00:00
renew.go oauthutil: add Shutdown method 2023-12-09 11:44:50 +00:00