rclone/backend/pcloud
Nick Craig-Wood d4b2709fb0 pcloud: fix oauth on European region "eapi.pcloud.com"
Pcloud appears to have opened up a new region and they are returning
the hostname in the oauth callback, thus

    GET /?code=XXX&locationid=1&hostname=api.pcloud.com&state=XXX HTTP/1.1
    GET /?code=XXX&locationid=2&hostname=eapi.pcloud.com&state=XXX HTTP/1.1

This isn't documented yet, however pCloud have confirmed that this is
the correct interpretation.

Rclone now reads the "hostname" parameter in the oauth callback and
stores it in the config file. It uses it for all subequent API calls.
2020-07-03 20:38:42 +01:00
..
api pcloud: implement PublicLink 2020-06-21 17:22:56 +02:00
pcloud.go pcloud: fix oauth on European region "eapi.pcloud.com" 2020-07-03 20:38:42 +01:00
pcloud_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00