Remove last pieces of Storage libs dependency on Identity (#1079)

This commit is contained in:
Anton Kolesnyk 2020-12-03 22:21:47 -08:00 committed by GitHub
parent 7d6d3dbf8f
commit 9d3b488524
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 28 additions and 22 deletions

View File

@ -3,7 +3,7 @@
#pragma once
#include "azure/identity/client_secret_credential.hpp"
#include "azure/core/credentials.hpp"
#include "azure/storage/blobs/blob_client.hpp"
#include "azure/storage/blobs/blob_options.hpp"
#include "azure/storage/blobs/protocol/blob_rest_client.hpp"
@ -62,7 +62,7 @@ namespace Azure { namespace Storage { namespace Blobs {
* @param blobUrl A url
* referencing the blob that includes the name of the account, the name of the container, and
* the name of the blob.
* @param credential The client secret credential used to sign requests.
* @param credential The token credential used to sign requests.
* @param options Optional client options that define the transport pipeline policies for
* authentication, retries, etc., that are applied to every request.
*/

View File

@ -3,7 +3,7 @@
#pragma once
#include "azure/identity/client_secret_credential.hpp"
#include "azure/core/credentials.hpp"
#include "azure/storage/blobs/blob_options.hpp"
#include "azure/storage/blobs/blob_responses.hpp"
#include "azure/storage/blobs/protocol/blob_rest_client.hpp"
@ -65,7 +65,7 @@ namespace Azure { namespace Storage { namespace Blobs {
*
* @param blobUrl A url referencing the blob that includes the name of the account, the name of
* the container, and the name of the blob.
* @param credential The client secret credential used to sign requests.
* @param credential The token credential used to sign requests.
* @param options Optional client options that define the transport pipeline policies for
* authentication, retries, etc., that are applied to every request.
*/

View File

@ -3,7 +3,7 @@
#pragma once
#include "azure/identity/client_secret_credential.hpp"
#include "azure/core/credentials.hpp"
#include "azure/storage/blobs/blob_client.hpp"
#include "azure/storage/blobs/blob_options.hpp"
#include "azure/storage/blobs/protocol/blob_rest_client.hpp"
@ -58,7 +58,7 @@ namespace Azure { namespace Storage { namespace Blobs {
* @param blobContainerUrl A url
* referencing the blob container that includes the name of the account and the name of the
* container.
* @param credential The client secret credential used to sign requests.
* @param credential The token credential used to sign requests.
* @param options Optional client options that define the transport pipeline policies for
* authentication, retries, etc., that are applied to every request.
*/

View File

@ -3,7 +3,7 @@
#pragma once
#include "azure/identity/client_secret_credential.hpp"
#include "azure/core/credentials.hpp"
#include "azure/storage/blobs/blob_container_client.hpp"
#include "azure/storage/blobs/blob_options.hpp"
#include "azure/storage/blobs/protocol/blob_rest_client.hpp"
@ -50,7 +50,7 @@ namespace Azure { namespace Storage { namespace Blobs {
* @brief Initialize a new instance of BlobServiceClient.
*
* @param serviceUrl A url referencing the blob that includes the name of the account.
* @param credential The client secret credential used to sign requests.
* @param credential The token credential used to sign requests.
* @param options Optional client options that define the transport pipeline policies for
* authentication, retries, etc., that are applied to every request.
*/

View File

@ -3,7 +3,7 @@
#pragma once
#include "azure/identity/client_secret_credential.hpp"
#include "azure/core/credentials.hpp"
#include "azure/storage/blobs/blob_client.hpp"
#include "azure/storage/blobs/blob_options.hpp"
#include "azure/storage/blobs/protocol/blob_rest_client.hpp"
@ -72,7 +72,7 @@ namespace Azure { namespace Storage { namespace Blobs {
* @param blobUrl A url
* referencing the blob that includes the name of the account, the name of the container, and
* the name of the blob.
* @param credential The client secret credential used to sign requests.
* @param credential The token credential used to sign requests.
* @param options Optional client options that define the transport pipeline policies for
* authentication, retries, etc., that are applied to every request.
*/

View File

@ -3,7 +3,7 @@
#pragma once
#include "azure/identity/client_secret_credential.hpp"
#include "azure/core/credentials.hpp"
#include "azure/storage/blobs/blob_client.hpp"
#include "azure/storage/blobs/blob_options.hpp"
#include "azure/storage/blobs/blob_responses.hpp"
@ -64,7 +64,7 @@ namespace Azure { namespace Storage { namespace Blobs {
* @param blobUrl A url
* referencing the blob that includes the name of the account, the name of the container, and
* the name of the blob.
* @param credential The client secret credential used to sign requests.
* @param credential The token credential used to sign requests.
* @param options Optional client options that define the transport pipeline policies for
* authentication, retries, etc., that are applied to every request.
*/

View File

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#include "azure/identity/client_secret_credential.hpp"
#include "azure/storage/blobs/blob_sas_builder.hpp"
#include "blob_container_client_test.hpp"

View File

@ -3,9 +3,9 @@
#pragma once
#include "azure/core/credentials.hpp"
#include "azure/core/http/pipeline.hpp"
#include "azure/core/response.hpp"
#include "azure/identity/client_secret_credential.hpp"
#include "azure/storage/common/storage_credential.hpp"
#include "azure/storage/files/datalake/datalake_options.hpp"
#include "azure/storage/files/datalake/datalake_path_client.hpp"
@ -47,7 +47,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
/**
* @brief Bearer token authentication client.
* @param directoryUri The URI of the file system this client's request targets.
* @param credential The client secret credential used to initialize the client.
* @param credential The token credential used to initialize the client.
* @param options Optional parameters used to initialize the client.
*/
explicit DirectoryClient(

View File

@ -3,9 +3,9 @@
#pragma once
#include "azure/core/credentials.hpp"
#include "azure/core/http/pipeline.hpp"
#include "azure/core/response.hpp"
#include "azure/identity/client_secret_credential.hpp"
#include "azure/storage/blobs/block_blob_client.hpp"
#include "azure/storage/common/storage_credential.hpp"
#include "azure/storage/files/datalake/datalake_options.hpp"
@ -48,7 +48,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
/**
* @brief Bearer token authentication client.
* @param fileUri The URI of the file this client's request targets.
* @param credential The client secret credential used to initialize the client.
* @param credential The token credential used to initialize the client.
* @param options Optional parameters used to initialize the client.
*/
explicit FileClient(

View File

@ -3,9 +3,9 @@
#pragma once
#include "azure/core/credentials.hpp"
#include "azure/core/http/pipeline.hpp"
#include "azure/core/response.hpp"
#include "azure/identity/client_secret_credential.hpp"
#include "azure/storage/blobs/blob_container_client.hpp"
#include "azure/storage/common/storage_credential.hpp"
#include "azure/storage/files/datalake/datalake_options.hpp"
@ -50,7 +50,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
/**
* @brief Bearer token authentication client.
* @param fileSystemUri The URI of the file system this client's request targets.
* @param credential The client secret credential used to initialize the client.
* @param credential The token credential used to initialize the client.
* @param options Optional parameters used to initialize the client.
*/
explicit FileSystemClient(

View File

@ -3,9 +3,9 @@
#pragma once
#include "azure/core/credentials.hpp"
#include "azure/core/http/pipeline.hpp"
#include "azure/core/response.hpp"
#include "azure/identity/client_secret_credential.hpp"
#include "azure/storage/blobs/blob_client.hpp"
#include "azure/storage/common/storage_credential.hpp"
#include "azure/storage/files/datalake/datalake_file_system_client.hpp"
@ -48,7 +48,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
/**
* @brief Bearer token authentication client.
* @param pathUri The URI of the path this client's request targets.
* @param credential The client secret credential used to initialize the client.
* @param credential The token credential used to initialize the client.
* @param options Optional parameters used to initialize the client.
*/
explicit PathClient(

View File

@ -3,9 +3,9 @@
#pragma once
#include "azure/core/credentials.hpp"
#include "azure/core/http/pipeline.hpp"
#include "azure/core/response.hpp"
#include "azure/identity/client_secret_credential.hpp"
#include "azure/storage/blobs/blob_service_client.hpp"
#include "azure/storage/common/storage_credential.hpp"
#include "azure/storage/files/datalake/datalake_options.hpp"
@ -45,7 +45,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake {
/**
* @brief Bearer token authentication client.
* @param serviceUri The service URI this client's request targets.
* @param credential The client secret credential used to initialize the client.
* @param credential The token credential used to initialize the client.
* @param options Optional parameters used to initialize the client.
*/
explicit DataLakeServiceClient(

View File

@ -3,6 +3,7 @@
#include "datalake_directory_client_test.hpp"
#include "azure/identity/client_secret_credential.hpp"
#include "azure/storage/common/shared_key_policy.hpp"
#include <algorithm>

View File

@ -3,6 +3,7 @@
#include "datalake_file_client_test.hpp"
#include "azure/identity/client_secret_credential.hpp"
#include "azure/storage/blobs.hpp"
#include "azure/storage/common/file_io.hpp"
#include "azure/storage/common/shared_key_policy.hpp"

View File

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#include "azure/identity/client_secret_credential.hpp"
#include "datalake_file_system_client_test.hpp"
#include "azure/storage/common/crypt.hpp"
#include "azure/storage/files/datalake/datalake_options.hpp"

View File

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#include "azure/identity/client_secret_credential.hpp"
#include "datalake_path_client_test.hpp"
#include <algorithm>

View File

@ -1,6 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#include "azure/identity/client_secret_credential.hpp"
#include "azure/storage/blobs/blob_sas_builder.hpp"
#include "azure/storage/files/datalake/datalake_sas_builder.hpp"
#include "datalake_file_system_client_test.hpp"