aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/projectstore/jupiterremoteprojectstore.h
blob: ac2d25b4793944e3b0da57ef9a99be0d834cb496 (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
30
31
// 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;
	std::filesystem::path OidcExePath;
	bool				  ForceDisableBlocks	 = false;
	bool				  ForceDisableTempBlocks = false;
	bool				  AssumeHttp2			 = false;
};

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

}  // namespace zen