在线文档教程
PHP

OAuth::generateSignature

OAuth::generateSignature

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

OAuth::generateSignature — Generate a signature

Description

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.

Parameters

http_method

HTTP method for request

url

URL for request

extra_parameters

String or array of additional parameters.

Return Values

A string containing the generated signature or FALSE on failure

← OAuth::fetch

OAuth::getAccessToken →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/oauth.generatesignature.php