aboutsummaryrefslogtreecommitdiff
path: root/zenserver/upstream/upstreamcache.h
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2022-01-28 13:03:44 +0100
committerPer Larsson <[email protected]>2022-01-28 13:03:44 +0100
commitc775f3f39bc2a3d8c018c3a925a7cd61231ef3a9 (patch)
tree152399c6b8aa05e51107801431c65a938e0a788f /zenserver/upstream/upstreamcache.h
parentExtended auth mgr to restore OpenID provider(s) and token(s). (diff)
downloadzen-c775f3f39bc2a3d8c018c3a925a7cd61231ef3a9.tar.xz
zen-c775f3f39bc2a3d8c018c3a925a7cd61231ef3a9.zip
Get access token from auth mgr.
Diffstat (limited to 'zenserver/upstream/upstreamcache.h')
-rw-r--r--zenserver/upstream/upstreamcache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/zenserver/upstream/upstreamcache.h b/zenserver/upstream/upstreamcache.h
index 16d8c7929..805786cdf 100644
--- a/zenserver/upstream/upstreamcache.h
+++ b/zenserver/upstream/upstreamcache.h
@@ -15,6 +15,7 @@
namespace zen {
+class AuthMgr;
class CbObjectView;
class CbPackage;
class CbObjectWriter;
@@ -203,7 +204,7 @@ public:
std::unique_ptr<UpstreamCache> MakeUpstreamCache(const UpstreamCacheOptions& Options, ZenCacheStore& CacheStore, CidStore& CidStore);
-std::unique_ptr<UpstreamEndpoint> MakeJupiterUpstreamEndpoint(const CloudCacheClientOptions& Options);
+std::unique_ptr<UpstreamEndpoint> MakeJupiterUpstreamEndpoint(const CloudCacheClientOptions& Options, AuthMgr& Mgr);
std::unique_ptr<UpstreamEndpoint> MakeZenUpstreamEndpoint(const ZenStructuredCacheClientOptions& Options);