aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/projectstore/jupiterremoteprojectstore.h
blob: 27f3d9b7335562276fe441bc2c5c184247eff40f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright Epic Games, Inc. All Rights Reserved.

#pragma once

#include "remoteprojectstore.h"

namespace zen {

class AuthMgr;

struct JupiterRemoteStoreOptions : RemoteStoreOptions
{
	std::string Url;
	std::string Namespace;
	std::string Bucket;
	IoHash		Key;
	IoHash		OptionalBaseKey;
	std::string OpenIdProvider;
	std::string AccessToken;
	AuthMgr&	AuthManager;
	bool		ForceDisableBlocks	   = false;
	bool		ForceDisableTempBlocks = false;
	bool		AssumeHttp2			   = false;
};

std::shared_ptr<RemoteProjectStore> CreateJupiterRemoteStore(const JupiterRemoteStoreOptions& Options,
															 const std::filesystem::path&	  TempFilePath);

}  // namespace zen