public final class StorageSharedKeyCredentialPolicy extends Object implements 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<HttpResponse> |
process(HttpPipelineCallContext context,
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<HttpResponse> process(HttpPipelineCallContext context, HttpPipelineNextPolicy next)
process in interface HttpPipelinePolicyCopyright © 2019 Microsoft Corporation. All rights reserved.