OAuth
PHP 手册

OAuth::generateSignature

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

OAuth::generateSignatureGenerate a signature

说明

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

Generate a 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 signature 或者在失败时返回 FALSE


OAuth
PHP 手册