OAuth
PHP 手册

OAuth::getRequestHeader

(No version information available, might only be in SVN)

OAuth::getRequestHeaderGenerate OAuth header string signature

说明

public string OAuth::getRequestHeader ( string $http_method , string $url [, mixed $extra_parameters ] )

Generate OAuth header string signature based on the final HTTP method, URL and a string/array of parameters

参数

http_method

HTTP method for request.

url

URL for request.

extra_parameters

String or array of additional parameters.

返回值

A string containing the generated request header 或者在失败时返回 FALSE


OAuth
PHP 手册