ZF-9284: Enable 2LO by making oauth_token optional in Zend/Oauth/Http/Utility.php

Issue Type: Improvement Created: 2010-02-27T16:24:04.000+0000 Last Updated: 2010-02-28T05:47:46.000+0000 Status: Resolved Fix version(s): - 1.10.3 (01/Apr/10)

Reporter: Ryan Boyd (rboyd) Assignee: Pádraic Brady (padraic) Tags: - Zend_Oauth

Related issues: Attachments: - ZF-9284.patch


In 2-legged OAuth, the oauth_token is not used-- requests are made purely based on the consumer key/secret. Suggest adding a check to Zend_Oauth_Http_Utility::assembleParams so that the oauth_token value is only sent if non-null.


Posted by Ryan Boyd (rboyd) on 2010-02-27T16:28:31.000+0000

Attached patch modifies Zend_Oauth_Http_Utility::assembleParams to make the oauth_token param only set if non-null

Posted by Pádraic Brady (padraic) on 2010-02-28T05:47:45.000+0000

Implemented in r21232 and merged to release-1.10 for next mini-release. Thanks for the patch!

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.