public final class StorageSharedKeyCredentialPolicy extends Object implements com.azure.core.http.policy.HttpPipelinePolicy
| Constructor and Description |
|---|
StorageSharedKeyCredentialPolicy(StorageSharedKeyCredential credential)
Creates a SharedKey pipeline policy that adds the SharedKey into the request's authorization header.
|
| Modifier and Type | Method and Description |
|---|---|
Mono<com.azure.core.http.HttpResponse> |
process(com.azure.core.http.HttpPipelineCallContext context,
com.azure.core.http.HttpPipelineNextPolicy next) |
StorageSharedKeyCredential |
sharedKeyCredential() |
public StorageSharedKeyCredentialPolicy(StorageSharedKeyCredential credential)
credential - the SharedKey credential used to create the policy.public StorageSharedKeyCredential sharedKeyCredential()
StorageSharedKeyCredential linked to the policy.public Mono<com.azure.core.http.HttpResponse> process(com.azure.core.http.HttpPipelineCallContext context, com.azure.core.http.HttpPipelineNextPolicy next)
process in interface com.azure.core.http.policy.HttpPipelinePolicyCopyright © 2020 Microsoft Corporation. All rights reserved.