A plugin to allow WordPress to use an OAuth authenticator.
oauth-provider folder to the /wp-content/plugins/ directory.The control panel of OAuth Provider is in 'OAuth Provider'.
After enabled this plugin, you can access URLs as below:
(suppose your WordPress's URL is http://example.com/)
http://example.com/oauth/request_token The URL to obtain a Request Token.http://example.com/oauth/authorize The URL to obtain User authorization.http://example.com/oauth/access_token The URL to issue an Access Token.http://example.com/oauth/(method name) The URL to call a OAuth method using a Consumer key and an Access Token.The OAuth method sayHello, which is implemented in this plugin for now, is simply returning a user name.
You can register a method using add_oauth_method($name, $method).
You can use this function like add_filter().
You can easily add the sayHello method like below:
add_oauth_method('sayHello', create_function('$request, $userid, $username', 'return "Hello {$username}!";'));
To execute the registered sayHello method, access the URL below:
http://example.com/oauth/sayHello
Requires: 2.8 or higher
Compatible up to: 3.4.2
Last Updated: 2012-12-4
Downloads: 2,128
0 of 2 support threads in the last two months have been resolved.
Got something to say? Need help?