Метод |
Описание |
|
assocToNumericNameValue ( array $array ) : array |
Converts an associative array of name => value pairs to a numerically
indexed array of array('name' => '', 'value' => '') elements. |
|
authorizationHeader ( array $request ) : String |
Returns the OAuth Authorization Header string for a given request array. |
|
authorizationHeaderParamEncode ( string $name, string $value ) : string |
Builds an Authorization header param string from the supplied name and
value. See below for example: |
|
parameterEncode ( string $param ) : string |
Encodes paramters as per the OAuth spec by utf 8 encoding the param (if it
is not already utf 8 encoded) and then percent encoding it according to
RFC3986 |
|
request ( array $request = [] ) : array |
Overrides HttpSocket::request() to handle cases where
$request['auth']['method'] is 'OAuth'. |
|
sortByNameThenByValue ( array $a, array $b ) : integer |
User defined function to lexically sort an array of
array('name' => '', 'value' => '') elements by the value of
the name key, and if they're the same, then by the value of the value key. |
|