rclone/backend/drive
Martin Hassack 65012beea4 lib/oauthutil: add support for OAuth client credential flow
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>
2024-12-13 11:34:11 +00:00
..
test drive: add --drive-import-formats 2018-09-25 15:20:23 +01:00
drive_internal_test.go drive: add support for markdown format 2024-09-30 17:22:32 +01:00
drive_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
drive.go lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
metadata.go drive: debug when we are ignoring permissions #7853 2024-05-21 15:32:26 +01:00
upload.go backends: Add context checking to remaining backends #4504 2021-03-16 16:17:22 +00:00