public final class TablesSharedKeyCredentialPolicy extends Object implements com.azure.core.http.policy.HttpPipelinePolicy
| Constructor and Description |
|---|
TablesSharedKeyCredentialPolicy(TablesSharedKeyCredential 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)
Authorizes a
HttpRequest with the SharedKey credential. |
public TablesSharedKeyCredentialPolicy(TablesSharedKeyCredential credential)
credential - The SharedKey credential used to create the policy.public Mono<com.azure.core.http.HttpResponse> process(com.azure.core.http.HttpPipelineCallContext context, com.azure.core.http.HttpPipelineNextPolicy next)
HttpRequest with the SharedKey credential.process in interface com.azure.core.http.policy.HttpPipelinePolicycontext - The context of the request.next - The next policy in the pipeline.Copyright © 2021 Microsoft Corporation. All rights reserved.