16 #ifndef ACSDKASSETMANAGER_SRC_REQUESTERFACTORY_H_
17 #define ACSDKASSETMANAGER_SRC_REQUESTERFACTORY_H_
24 namespace acsdkAssets {
42 static std::unique_ptr<RequesterFactory>
create(
43 std::shared_ptr<StorageManager> storageManager,
44 std::shared_ptr<commonInterfaces::AmdCommunicationInterface> communicationHandler,
45 std::shared_ptr<davsInterfaces::ArtifactHandlerInterface> davsClient,
46 std::string urlTmpDirectory,
47 std::shared_ptr<alexaClientSDK::avsCommon::sdkInterfaces::AuthDelegateInterface> authDelegate,
48 std::shared_ptr<UrlAllowListWrapper> allowList);
58 std::shared_ptr<Requester>
createFromStorage(
const std::string& metadataFilePath);
68 const std::shared_ptr<RequesterMetadata>& metadata,
69 const std::string& metadataFilePath);
73 std::shared_ptr<StorageManager> storageManager,
74 std::shared_ptr<commonInterfaces::AmdCommunicationInterface> communicationHandler,
75 std::shared_ptr<davsInterfaces::ArtifactHandlerInterface> davsClient,
76 std::string urlTmpDirectory,
77 std::shared_ptr<alexaClientSDK::avsCommon::sdkInterfaces::AuthDelegateInterface> authDelegate,
78 std::shared_ptr<UrlAllowListWrapper> allowList);
81 const std::shared_ptr<StorageManager> m_storageManager;
82 const std::shared_ptr<commonInterfaces::AmdCommunicationInterface> m_communicationHandler;
83 const std::shared_ptr<davsInterfaces::ArtifactHandlerInterface> m_davsClient;
85 const std::string m_urlTmpDirectory;
86 const std::shared_ptr<alexaClientSDK::avsCommon::sdkInterfaces::AuthDelegateInterface> m_authDelegate;
87 const std::shared_ptr<alexaClientSDK::avsCommon::utils::power::PowerResource> m_urlPowerResource;
88 std::shared_ptr<UrlAllowListWrapper> m_allowedUrlList;
95 #endif // ACSDKASSETMANAGER_SRC_REQUESTERFACTORY_H_