rclone/backend/googlephotos
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 backend: rename variables to fix CI lint test failures 2024-02-12 12:49:00 -05:00
testfiles googlephotos: Backend for accessing Google Photos #369 2019-07-02 15:26:55 +01:00
albums_test.go build: run gofmt -s to simplify the code: suggested by Go Report Card 2020-06-18 18:45:39 +01:00
albums.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
googlephotos_test.go fs: move operations.NewOverrideRemote to fs.NewOverrideRemote 2022-11-21 08:02:09 +00:00
googlephotos.go lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
pattern_test.go Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00
pattern.go fix spelling 2024-04-17 18:02:44 +02:00