You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Create a class implementing the OAuthDataStore interface
2. Use it for an OAuth server
What is the expected output? What do you see instead?
The OAuthServer class should call the "fetch_" functions, since that's
what's documented for the interface. Instead, it calls the "new_"
functions, which are what's actually implemented in the Simple class. If
the new_ functions aren't implemented, PHP throws an unimplemented-method
exception.
Probably the best fix would be to simply change the "fetch_" functions to
"new_" functions in the abstract OAuthDataStore class, so that implementers
know what they should really implement. It's more of a documentation error
than anything else.
What version of the product are you using? On what operating system?
PHP library, latest version as of this issue.
Please provide any additional information below.
Original issue reported on code.google.com by evan.pro...@gmail.com on 2 Jun 2008 at 7:58
The text was updated successfully, but these errors were encountered:
Since rev. 888 there is now a consistency in function naming. Still not great,
but at least names called, names in
the "interface" and names in the simple implementation are the same..
Original comment by morten.f...@gmail.com on 5 Feb 2009 at 10:20
Original issue reported on code.google.com by
evan.pro...@gmail.com
on 2 Jun 2008 at 7:58The text was updated successfully, but these errors were encountered: