rclone/backend
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
..
alias config: make getting config values more consistent 2024-08-08 13:41:31 +01:00
all Add ICloud Drive backend 2024-10-02 10:19:11 +01:00
azureblob azureblob: add --azureblob-use-az to force the use of the Azure CLI for auth 2024-09-20 16:16:09 +01:00
azurefiles build: fix gocritic lint issue elseif 2024-08-15 22:08:34 +01:00
b2 build: ignore remaining gocritic lint issues 2024-08-15 22:08:34 +01:00
box lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
cache build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
chunker build: fix gosimple lint errors with golangci-lint v1.60.1 2024-08-14 17:46:12 +01:00
combine fs: define the optional interface SetMetadata and implement it in wrapping backends 2024-05-14 12:51:03 +01:00
compress chunkedreader: add --vfs-read-chunk-streams to parallel read chunks 2024-08-14 21:13:09 +01:00
crypt build: fix gocritic lint issue underef 2024-08-15 22:08:34 +01:00
drive lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
dropbox lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
fichier fichier: fix server side move - fixes #7856 2024-09-06 18:20:10 +01:00
filefabric filefabric: use atomic types 2023-08-22 12:52:13 +01:00
filescom filescom: don't make an extra fetch call on each item in a list response 2024-08-19 22:31:57 +02:00
ftp ftp: implement --ftp-no-check-upload to allow upload to write only dirs 2024-09-18 12:57:01 +01:00
gofile gofile: fix server side copying over existing object 2024-11-08 14:01:51 +00:00
googlecloudstorage lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
googlephotos lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
hasher fs: define the optional interface SetMetadata and implement it in wrapping backends 2024-05-14 12:51:03 +01:00
hdfs build: fix linting issues reported by running golangci-lint with different GOOS 2024-04-22 19:29:12 +02:00
hidrive lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
http backend http: Adding no-escape flag for option to not escape URL metacharacters in path names - fixes issue #7637 2024-04-22 17:57:09 +01:00
iclouddrive Add ICloud Drive backend 2024-10-02 10:19:11 +01:00
imagekit build: fix gocritic lint issue assignop 2024-08-15 22:08:34 +01:00
internetarchive fs: implement --metadata-mapper to transform metatadata with a user supplied program 2023-11-18 17:49:35 +00:00
jottacloud lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
koofr backend koofr: remove trailing bracket - fixes #7600 2024-04-04 20:03:26 +01:00
linkbox linkbox: fix list paging and optimized synchronization. 2024-03-24 12:05:58 +00:00
local local: fix permission and ownership on symlinks with --links and --metadata 2024-11-14 16:20:18 +00:00
mailru lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
mega docs: fix typos found by codespell in docs and code comments 2023-09-23 12:20:01 +01:00
memory memory: fix incorrect list entries when rooted at subdirectory 2024-03-27 11:43:26 -04:00
netstorage build: fix gocritic lint issue valswap 2024-08-15 22:08:34 +01:00
onedrive lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
opendrive opendrive: add about support to backend 2024-09-17 17:20:42 +01:00
oracleobjectstorage oracleobjectstorage: make specifying compartmentid optional 2024-12-03 17:54:00 +00:00
pcloud lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
pikpak lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
pixeldrain Add pixeldrain backend 2024-08-12 13:35:44 +01:00
premiumizeme lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
protondrive backend/protondrive: improve performance of Proton Drive backend 2024-09-18 18:15:24 +01:00
putio lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
qingstor build: fix linting issues reported by running golangci-lint with different GOOS 2024-04-22 19:29:12 +02:00
quatrix quatrix: fix f.String() not including subpath 2024-05-13 18:32:41 +01:00
s3 s3: fix multitenant multipart uploads with CEPH 2024-11-21 11:04:49 +00:00
seafile build: fix gosimple lint errors with golangci-lint v1.60.1 2024-08-14 17:46:12 +01:00
sftp serve sftp: update github.com/pkg/sftp to v1.13.7 and fix deadlock in tests 2024-11-11 18:15:00 +00:00
sharefile lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
sia rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
smb smb: fix shares not listed by updating go-smb2 2023-11-29 15:39:27 +00:00
storj build: fix linting issues reported by running golangci-lint with different GOOS 2024-04-22 19:29:12 +02:00
sugarsync sugarsync: fix server side copying over existing object 2024-11-08 18:17:55 +00:00
swift swift: add total/free space info in about command. 2024-09-06 12:46:51 +01:00
ulozto ulozto: fix upload of > 2GB files on 32 bit platforms - fixes #7960 2024-07-20 11:29:34 +01:00
union build: fix gocritic lint issue assignop 2024-08-15 22:08:34 +01:00
uptobox rclone config redacted: implement support mechanism for showing redacted config 2023-07-07 16:25:14 +01:00
webdav webdav: nextcloud: implement backoff and retry for 423 LOCKED errors 2024-09-17 16:46:02 +01:00
yandex lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
zoho lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00