tmhOAuth::sign
Signs the request and adds the OAuth signature. This runs all the request parameter preparation methods.
Signature
private function sign(string
$method,
string
$url,
array
$params,
string
$useauth )
Parameters
$method
—
string
- the HTTP method being used. e.g. POST, GET, HEAD etc
$url
—
string
- the request URL without query string parameters
$params
—
array
- the request parameters as an array of key=value pairs
$useauth
—
string
- whether to use authentication when making the request.
Returns
- void