Microsoft Azure Storage Client Library for C++  7.5.0
The Microsoft Azure Storage Client Library for C++ is a library for working with the Azure Storage Services in C++.
Public Member Functions | List of all members
azure::storage::cloud_client Class Reference

Provides a client-side logical representation of a Windows Azure service. This client is used to configure and execute requests against the service. More...

Inheritance diagram for azure::storage::cloud_client:
azure::storage::cloud_blob_client azure::storage::cloud_file_client azure::storage::cloud_queue_client azure::storage::cloud_table_client

Public Member Functions

const storage_uribase_uri () const
 Gets the base URI for the service client. More...
 
const azure::storage::storage_credentialscredentials () const
 Gets the storage account credentials for the service client. More...
 
azure::storage::authentication_scheme authentication_scheme () const
 Gets the authentication scheme to use to sign HTTP requests for the service client. More...
 
virtual void set_authentication_scheme (azure::storage::authentication_scheme value)
 Sets the authentication scheme to use to sign HTTP requests. More...
 
std::shared_ptr< protocol::authentication_handler > authentication_handler () const
 Gets the authentication handler to use to sign HTTP requests. More...
 

Detailed Description

Provides a client-side logical representation of a Windows Azure service. This client is used to configure and execute requests against the service.

The service client encapsulates the base URI for the service. If the service client will be used for authenticated access, it also encapsulates the credentials for accessing the storage account.

Member Function Documentation

◆ authentication_handler()

std::shared_ptr<protocol::authentication_handler> azure::storage::cloud_client::authentication_handler ( ) const
inline

Gets the authentication handler to use to sign HTTP requests.

Returns
The authentication handler to use to sign HTTP requests.

◆ authentication_scheme()

azure::storage::authentication_scheme azure::storage::cloud_client::authentication_scheme ( ) const
inline

Gets the authentication scheme to use to sign HTTP requests for the service client.

Returns
The authentication scheme to use to sign HTTP requests for the service client.

◆ base_uri()

const storage_uri& azure::storage::cloud_client::base_uri ( ) const
inline

Gets the base URI for the service client.

Returns
The base URI for the service client.

◆ credentials()

const azure::storage::storage_credentials& azure::storage::cloud_client::credentials ( ) const
inline

Gets the storage account credentials for the service client.

Returns
The storage account credentials for the service client.

◆ set_authentication_scheme()

virtual void azure::storage::cloud_client::set_authentication_scheme ( azure::storage::authentication_scheme  value)
inlinevirtual

Sets the authentication scheme to use to sign HTTP requests.

Parameters
valueThe authentication scheme to use to sign HTTP requests.

Reimplemented in azure::storage::cloud_blob_client, azure::storage::cloud_table_client, azure::storage::cloud_file_client, and azure::storage::cloud_queue_client.