rclone/backend/sharefile
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 Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
generate_tzdata.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
sharefile_test.go New backend for Citrix Sharefile - Fixes #1543 2019-09-30 12:28:33 +01:00
sharefile.go lib/oauthutil: add support for OAuth client credential flow 2024-12-13 11:34:11 +00:00
tzdata_vfsdata.go Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
update-timezone.sh tree-wide: replace /bin/bash with /usr/bin/env bash 2024-06-11 12:47:47 +01:00
upload.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00