Doc #67649 [NEW]: OAuth::getRequestToken() has a 3rd parameter
| From: | cweiske@php.net | Date: | Fri, 18 Jul 2014 14:20:09 +0000 |
| Subject: | Doc #67649 [NEW]: OAuth::getRequestToken() has a 3rd parameter | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-11385@lists.php.net to get a copy of this message | ||
From: cweiske
Operating system:
PHP version: Irrelevant
Package: oauth
Bug Type: Documentation Problem
Bug description:OAuth::getRequestToken() has a 3rd parameter
Description:
------------
---
From manual page: http://www.php.net/oauth.getrequesttoken
---
OAuth::getRequestToken() has a 3rd parameter that is not documented -
the HTTP method. Per RFC 5849 is MUST be set to POST, but it does not
currently do that automatically. Using the 3rd parameter is a
workaround.
See the source code in
http://svn.php.net/viewvc/pecl/oauth/trunk/oauth.c?revision=332108&view=markup#l2193
> zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|zs", &url,
&url_len, &callback_url, &http_method, &http_method_len
--
Edit bug report at https://bugs.php.net/bug.php?id=67649&edit=1
--