rclone/backend/onedrive
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
..
api build: fix comments after golangci-lint upgrade 2024-11-11 18:03:36 +00:00
quickxorhash build: update to go1.23rc1 and make go1.21 the minimum required version 2024-07-20 10:54:47 +01:00
metadata.go build: replace "golang.org/x/exp/slices" with "slices" now go1.21 is required 2024-09-25 16:03:43 +01:00
metadata.md onedrive: skip writing permissions with 'owner' role 2024-05-10 16:25:08 +01:00
onedrive.go lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
onedrive_internal_test.go onedrive: fix integration tests after precision change 2024-11-12 13:09:15 +00:00
onedrive_test.go onedrive: add support for china region operated by 21vianet #4963 (#4963) 2021-01-29 23:04:21 +03:00