Class StorageSharedKeyCredentialPolicy

  • All Implemented Interfaces:
    com.azure.core.http.policy.HttpPipelinePolicy

    public final class StorageSharedKeyCredentialPolicy
    extends Object
    implements com.azure.core.http.policy.HttpPipelinePolicy
    Policy that adds the SharedKey into the request's Authorization header.
    • Constructor Detail

      • StorageSharedKeyCredentialPolicy

        public StorageSharedKeyCredentialPolicy​(StorageSharedKeyCredential credential)
        Creates a SharedKey pipeline policy that adds the SharedKey into the request's authorization header.
        Parameters:
        credential - the SharedKey credential used to create the policy.
    • Method Detail

      • process

        public Mono<com.azure.core.http.HttpResponse> process​(com.azure.core.http.HttpPipelineCallContext context,
                                                              com.azure.core.http.HttpPipelineNextPolicy next)
        Specified by:
        process in interface com.azure.core.http.policy.HttpPipelinePolicy