rclone/fs/config
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
..
configfile docs: fix some function names in comments 2024-09-02 18:20:08 +02:00
configflags build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
configmap all: fix spelling across the project 2022-08-30 11:16:26 +02:00
configstruct fs: fix setting stringArray config values from environment variables 2024-09-13 15:52:51 +01:00
flags fs: fix setting stringArray config values from environment variables 2024-09-13 15:52:51 +01:00
obscure build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
testdata Convert source files with crlf to lf 2024-04-18 11:32:45 +02:00
authorize.go fs: refactor fs.ConfigMap to take a prefix and Options rather than an fs.RegInfo 2024-07-15 11:09:53 +01:00
config_read_password_unsupported.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
config_read_password.go build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00
config_test.go config: use --password-command to set config file password if supplied 2024-09-06 10:34:29 +01:00
config.go lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
crypt_internal_test.go config encryption: set, remove and check to manage config file encryption #7859 2024-09-06 10:34:29 +01:00
crypt_test.go config encryption: set, remove and check to manage config file encryption #7859 2024-09-06 10:34:29 +01:00
crypt.go config encryption: set, remove and check to manage config file encryption #7859 2024-09-06 10:34:29 +01:00
default_storage_test.go
default_storage.go
rc_test.go config: make getting config values more consistent 2024-08-08 13:41:31 +01:00
rc.go config: make listing of remotes more consistent 2024-08-08 13:41:31 +01:00
ui_test.go build: fix gocritic lint issue assignop 2024-08-15 22:08:34 +01:00
ui.go build: update logging statements to make json log work - fixes #6038 2024-09-06 17:04:18 +01:00