public function HttpClientOAuth::__construct in Http Client 7.2
Same name and namespace in other branches
- 6.2 includes/HttpClientOAuth.inc \HttpClientOAuth::__construct()
File
- includes/
auth/ oauth/ HttpClientOAuth.inc, line 12
Class
Code
public function __construct($consumer, $token = NULL, $sign_impl = NULL, $hash_body = TRUE, $header_auth = FALSE, $realm = NULL) {
$this->consumer = $consumer;
$this->token = $token;
$this->signImpl = $sign_impl;
$this->sign = is_object($sign_impl);
$this->hash_body = $hash_body;
$this->header_auth = $header_auth;
$this->realm = $realm;
}