OAuthRequest
class OAuthRequest
Properties
$base_string | |||
static | $version | ||
static | $POST_INPUT |
Methods
No description
attempt to build up a request from what was passed to the server
pretty much a helper function to set up the request
No description
No description
No description
No description
The request parameters, sorted and concatenated into a normalized string.
Returns the base string of this request
just uppercases the http method
parses the url and rebuilds it to be scheme://host/path
builds a url usable for a GET request
builds the data one would send in a POST request
builds the Authorization: header
No description
No description
No description
No description
No description
Details
at line 15
__construct($http_method, $http_url, $parameters = NULL)
at line 26
static
from_request($http_method = NULL, $http_url = NULL, $parameters = NULL)
attempt to build up a request from what was passed to the server
at line 72
static
from_consumer_and_token($consumer, $token, $http_method, $http_url, $parameters = NULL)
pretty much a helper function to set up the request
at line 94
set_parameter($name, $value, $allow_duplicates = true)
at line 109
get_parameter($name)
at line 113
get_parameters()
at line 117
unset_parameter($name)
at line 125
string
get_signable_parameters()
The request parameters, sorted and concatenated into a normalized string.
at line 145
get_signature_base_string()
Returns the base string of this request
The base string defined as the method, the url and the parameters (normalized), each urlencoded and the concated with &.
at line 160
get_normalized_http_method()
just uppercases the http method
at line 168
get_normalized_http_url()
parses the url and rebuilds it to be scheme://host/path
at line 188
to_url()
builds a url usable for a GET request
at line 200
to_postdata()
builds the data one would send in a POST request
at line 207
to_header_internal($start)
builds the Authorization: header