public function HttpClientOAuth::__construct in Http Client 6.2
Same name and namespace in other branches
- 7.2 includes/auth/oauth/HttpClientOAuth.inc \HttpClientOAuth::__construct()
File
- includes/
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;
}