mirror of
https://github.com/rclone/rclone.git
synced 2024-12-21 02:44:02 +08:00
65012beea4
This commit reorganises the oauth code to use our own config struct which has all the info for the normal oauth method and also the client credentials flow method. It updates all backends which use lib/oauthutil to use the new config struct which shouldn't change any functionality. It also adds code for dealing with the client credential flow config which doesn't require the use of a browser and doesn't have or need a refresh token. Co-authored-by: Nick Craig-Wood <nick@craig-wood.com> |
||
---|---|---|
.. | ||
oauthutil.go | ||
renew.go |