php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59819 OAuthProvider refers to nonexistent method "consumerKeyHandler"
Submitted: 2011-06-17 07:56 UTC Modified: 2011-07-21 16:35 UTC
From: piet at byteorbit dot com Assigned:
Status: Closed Package: oauth (PECL)
PHP Version: 5.3.5 OS: Ubuntu 11.04
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: piet at byteorbit dot com
New email:
PHP Version: OS:

 

 [2011-06-17 07:56 UTC] piet at byteorbit dot com
Description:
------------
provider.c refers to the consumerHandler method incorrectly 
as consumerKeyHandler in the following places:

1. In an error message in function oauth_provider_call_cb():

"Consumer key/secret handler not specified, did you set a 
valid callback via OAuthProvider::consumerKeyHandler()?"

2. In the prototype comment strings:

proto void OAuthProvider::callConsumerKeyHandler()
proto void OAuthProvider::consumerKeyHandler(callback cb)

These should simply be updated to reflect the correct method 
name, i assume.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-07-21 16:35 UTC] jawed@php.net
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pecl.php.net/get/oauth


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 08:01:35 2025 UTC