You are here

public function HttpClientOAuth::signRequests in Http Client 7.2

Same name and namespace in other branches
  1. 6.2 includes/HttpClientOAuth.inc \HttpClientOAuth::signRequests()

Enables and disables request signing. N.B. Signing will always be disabled if no signing implementation was passed to the constructor.

Parameters

bool $sign: Set to FALSE to disable signing, TRUE to enable.

Return value

void

File

includes/auth/oauth/HttpClientOAuth.inc, line 31

Class

HttpClientOAuth

Code

public function signRequests($sign) {
  $this->sign = $sign;
}