azure-storage-common/src/Common/Internal/Authentication/SharedKeyAuthScheme.php
public function signRequest(Request $request)
    {
        $requestHeaders = HttpFormatter::formatHeaders($request->getHeaders());

        $signedKey = $this->getAuthorizationHeader(
            $requestHeaders,
            $request->getUri(),
            \GuzzleHttp\Psr7\parse_query(
                $request->getUri()->getQuery()
            ),
            $request->getMethod()
        );

        return $request->withHeader(Resources::AUTHENTICATION, $signedKey);
    }
public function signRequest(Request $request)
    {
        $requestHeaders = HttpFormatter::formatHeaders($request->getHeaders());

        $signedKey = $this->getAuthorizationHeader(
            $requestHeaders,
            $request->getUri(),
            \GuzzleHttp\Psr7\parse_query(
                $request->getUri()->getQuery()
            ),
            $request->getMethod()
        );

        return $request->withHeader(Resources::AUTHENTICATION, $signedKey);
    }
Adds authentication header to the request headers.

@param  \GuzzleHttp\Psr7\Request $request HTTP request object.

@abstract

@return \GuzzleHttp\Psr7\Request