示例#1
0
 /// <summary>
 /// Create a new SharedKeyPipelinePolicy
 /// </summary>
 /// <param name="credentials">SharedKeyCredentials to authenticate requests.</param>
 public SharedKeyPipelinePolicy(SharedKeyCredentials credentials)
 => this._credentials = credentials;
示例#2
0
 /// <summary>
 /// Construct options for making service requests signed with an Azure
 /// Storage shared key.
 /// </summary>
 /// <param name="credentials">
 /// The shared key credentials used to sign requests.
 /// </param>
 internal StorageConnectionOptions(SharedKeyCredentials credentials)
     : this()
     => this.Credentials = credentials;