TableAzureNamedKeyCredentialPolicy Class
- java.
lang. Object - com.
azure. data. tables. TableAzureNamedKeyCredentialPolicy
- com.
Implements
public final class TableAzureNamedKeyCredentialPolicy
implements HttpPipelinePolicy
Policy that adds the SharedKey into the request's Authorization header.
Constructor Summary
Constructor | Description |
---|---|
TableAzureNamedKeyCredentialPolicy(AzureNamedKeyCredential credential) |
Creates a Shared |
Method Summary
Modifier and Type | Method and Description |
---|---|
Azure |
getCredential()
Get the AzureNamedKeyCredential linked to the policy. |
Mono<Http |
process(HttpPipelineCallContext context, HttpPipelineNextPolicy next)
Authorizes a HttpRequest with the Shared |
Methods inherited from java.lang.Object
Constructor Details
TableAzureNamedKeyCredentialPolicy
public TableAzureNamedKeyCredentialPolicy(AzureNamedKeyCredential credential)
Creates a SharedKey pipeline policy that adds the SharedKey into the request's authorization header.
Parameters:
Method Details
getCredential
public AzureNamedKeyCredential getCredential()
Get the AzureNamedKeyCredential linked to the policy.
Returns:
process
public Mono
Authorizes a HttpRequest with the SharedKey credential.
Parameters:
Returns:
Applies to
Azure SDK for Java