{"id":14184,"date":"2011-07-27T00:25:25","date_gmt":"2011-07-27T00:25:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/oauth-provider\/"},"modified":"2013-07-16T09:09:39","modified_gmt":"2013-07-16T09:09:39","slug":"oauth-provider","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/oauth-provider\/","author":419346,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.5.4","stable_tag":"0.5.4","tested":"3.5.2","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"OAuth Provider","header_author":"wokamoto","header_description":"","assets_banners_color":"","last_updated":"2013-07-16 09:09:39","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=9S8AJCY7XB8F4&lc=JP&item_name=WordPress%20Plugins&item_number=wp%2dplugins&currency_code=JPY&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/oauth-provider\/","header_author_uri":"http:\/\/dogmap.jp\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":5937,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.2.0","0.3.0","0.3.1","0.4.0","0.4.1","0.4.2","0.4.3","0.4.4","0.4.5","0.4.6","0.5.0","0.5.1","0.5.1.1","0.5.1.2","0.5.2","0.5.3","0.5.4"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[2061],"plugin_category":[],"plugin_contributors":[78030,78274],"plugin_business_model":[],"class_list":["post-14184","plugin","type-plugin","status-closed","hentry","plugin_tags-oauth","plugin_contributors-megumithemes","plugin_contributors-wokamoto","plugin_committers-megumithemes","plugin_committers-wokamoto"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/oauth-provider.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin is experimental and is enable to make your site an OAuth provider.\nCurrently the plugin offers features as below:<\/p>\n\n<ul>\n<li>Registering applications (obtaining a Consumer Key).<\/li>\n<li>Issuing an Access Token.<\/li>\n<li>Using the obtained Consumer Key and the Access Token, you can register a method which is executed after connected.<\/li>\n<li>Using the obtained Consumer Key and the Access Token, you can execute the registered method.<\/li>\n<\/ul>\n\n<p><strong>PHP5 Required.<\/strong><\/p>\n\n<p>Special thx to <a href=\"http:\/\/www.digitalcube.jp\/\" title=\"DigitalCube Co. Ltd.\">DigitalCube Co. Ltd.<\/a>!<\/p>\n\n<p>Thx. Robert!\nSo, what I've noticed is that in this file one parameter is called \"callbackurl\" which should be called \"oauth_callback\", according to the rfc: http:\/\/tools.ietf.org\/html\/rfc5849<\/p>\n\n<h4>Localization<\/h4>\n\n<p>\"OAuth Provider\" has been translated into languages. Our thanks and appreciation must go to the following for their contributions:<\/p>\n\n<ul>\n<li>French (fr_FR) - Jeremy Castellano<\/li>\n<li>Japanese (ja) - <a href=\"http:\/\/dogmap.jp\/\" title=\"dogmap.jp\">OKAMOTO Wataru<\/a> (plugin author)<\/li>\n<\/ul>\n\n<p>If you have translated into your language, please let me know.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire <code>oauth-provider<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<p>The control panel of OAuth Provider is in 'OAuth Provider'.<\/p>\n\n<p>After enabled this plugin, you can access URLs as below:\n(suppose your WordPress's URL is <code>http:\/\/example.com\/<\/code>)<\/p>\n\n<ul>\n<li><code>http:\/\/example.com\/oauth\/request_token<\/code>  The URL to obtain a Request Token.<\/li>\n<li><code>http:\/\/example.com\/oauth\/authorize<\/code>      The URL to obtain User authorization.<\/li>\n<li><code>http:\/\/example.com\/oauth\/access_token<\/code>       The URL to issue an Access Token.<\/li>\n<li><code>http:\/\/example.com\/oauth\/(method name)<\/code>      The URL to call a OAuth method using a Consumer key and an Access Token.<\/li>\n<\/ul>\n\n<p>The OAuth method <code>sayHello<\/code>, which is implemented in this plugin for now, is simply returning a user name.<\/p>\n\n<p>You can register a method using <code>add_oauth_method($name, $method)<\/code>.\nYou can use this function like <code>add_filter()<\/code>.<\/p>\n\n<p>You can easily add the sayHello method like below:\n    add_oauth_method('sayHello', create_function('$request, $userid, $username', 'return \"Hello {$username}!\";'));<\/p>\n\n<p>To execute the registered sayHello method, access the URL below:\n    http:\/\/example.com\/oauth\/sayHello<\/p>\n\n<!--section=faq-->\n<p>none<\/p>\n\n<!--section=changelog-->\n<p><strong>0.5.4 - July 16, 2013<\/strong>\nAdded languages\/oauth-provider-fr_FR.po and .mo<\/p>\n\n<p><strong>0.5.3 - December 4, 2012<\/strong>\ncallbackurl should be oauth_callback (on the authorize form)\nport numbers on callback urls should be preserved.\nthx. timginn (https:\/\/github.com\/timginn)<\/p>\n\n<p><strong>0.3.2 - August 17, 2012<\/strong>\nParameter is called \"callbackurl\" which should be called \"oauth_callback\".<\/p>\n\n<p><strong>0.3.1 - August 1, 2011<\/strong><br \/>\nMinor bug fix.<\/p>\n\n<p><strong>0.3.0 - July 27, 2011<\/strong><br \/>\nAdded login form.<\/p>\n\n<p><strong>0.2.0 - July 27, 2011<\/strong><br \/>\nInitial release.<\/p>","raw_excerpt":"A plugin to allow WordPress to use an OAuth authenticator.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/14184","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=14184"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wokamoto"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=14184"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=14184"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=14184"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=14184"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=14184"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=14184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}