WordPress.org

Ready to get started?Download WordPress

Plugin Directory

OAuth Provider

A plugin to allow WordPress to use an OAuth authenticator.

  1. Upload the entire oauth-provider folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.

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/)

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.5.2
Last Updated: 2013-7-16
Downloads: 3,381

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
0,1,0
50,2,1 100,1,1
100,1,1
0,1,0
0,1,0