public function HttpClientOAuth::signRequests in Http Client 6.2
Same name and namespace in other branches
- 7.2 includes/auth/oauth/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/
HttpClientOAuth.inc, line 31
Class
Code
public function signRequests($sign) {
$this->sign = $sign;
}