aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/projectstore/jupiterremoteprojectstore.h
blob: 4ae6c88cb29243db7e504d7ad3788bcf750c3e96 (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::unique_ptr<RemoteProjectStore> CreateJupiterRemoteStore(const JupiterRemoteStoreOptions& Options,
															 const std::filesystem::path&	  TempFilePath);

}  // namespace zen