You are here

public function ClientManagerInterface::getRequestSignature in Acquia Content Hub 8

Extracts HMAC signature from the request.

Parameters

\Symfony\Component\HttpFoundation\Request $request: The Request to evaluate signature.

string $secret_key: The secret key used to generate the signature.

Return value

string The HMAC signature for this request.

1 method overrides ClientManagerInterface::getRequestSignature()
ClientManager::getRequestSignature in src/Client/ClientManager.php
Extracts HMAC signature from the request.

File

src/Client/ClientManagerInterface.php, line 72

Class

ClientManagerInterface
Interface for ClientManager.

Namespace

Drupal\acquia_contenthub\Client

Code

public function getRequestSignature(Request $request, $secret_key = '');